The Lab
PED native

_SET_PED_ACTION_DISABLE_FLAG

returns void2 paramsbuild 1207

Sets the action disable flag actionDisableFlag on ped, preventing that action.

Signature

C
void _SET_PED_ACTION_DISABLE_FLAG(Ped ped, int actionDisableFlag); // 0xB8DE69D9473B7593 b1207

Parameters

#NameType
1pedPed
2actionDisableFlagint

Facts

Facts about _SET_PED_ACTION_DISABLE_FLAG
Name
_SET_PED_ACTION_DISABLE_FLAG
Hash
0xB8DE69D9473B7593
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xB8DE69D9473B7593, -- _SET_PED_ACTION_DISABLE_FLAG
  PlayerPedId(), -- Ped ped
  0 -- int actionDisableFlag
)
JavaScript
Citizen.invokeNative("0xB8DE69D9473B7593", // _SET_PED_ACTION_DISABLE_FLAG
  PlayerPedId(), // Ped ped
  0 // int actionDisableFlag
);
C#
Function.Call((Hash)0xB8DE69D9473B7593, // _SET_PED_ACTION_DISABLE_FLAG
  API.PlayerPedId(), // Ped ped
  0 // int actionDisableFlag
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.