The Lab
PED native

IS_PED_USING_THIS_SCENARIO

returns BOOL2 paramsbuild 1207

Returns true if ped is using the scenario point scenario.

Signature

C
BOOL IS_PED_USING_THIS_SCENARIO(Ped ped, int scenario); // 0x9C54041BB66BCF9E b1207

Parameters

#NameType
1pedPed
2scenarioint

Facts

Facts about IS_PED_USING_THIS_SCENARIO
Name
IS_PED_USING_THIS_SCENARIO
Hash
0x9C54041BB66BCF9E
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x9C54041BB66BCF9E, -- IS_PED_USING_THIS_SCENARIO
  PlayerPedId(), -- Ped ped
  0 -- int scenario
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x9C54041BB66BCF9E", // IS_PED_USING_THIS_SCENARIO
  PlayerPedId(), // Ped ped
  0, // int scenario
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x9C54041BB66BCF9E, // IS_PED_USING_THIS_SCENARIO
  API.PlayerPedId(), // Ped ped
  0 // int scenario
);
All PED natives

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