IS_PED_USING_THIS_SCENARIO
Returns true if ped is using the scenario point scenario.
Signature
BOOL IS_PED_USING_THIS_SCENARIO(Ped ped, int scenario); // 0x9C54041BB66BCF9E b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | scenario | int |
Facts
| 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.
local result = Citizen.InvokeNative(0x9C54041BB66BCF9E, -- IS_PED_USING_THIS_SCENARIO
PlayerPedId(), -- Ped ped
0 -- int scenario
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x9C54041BB66BCF9E", // IS_PED_USING_THIS_SCENARIO
PlayerPedId(), // Ped ped
0, // int scenario
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x9C54041BB66BCF9E, // IS_PED_USING_THIS_SCENARIO
API.PlayerPedId(), // Ped ped
0 // int scenario
);Related PED natives
- IS_PED_USING_ANY_SCENARIO
- IS_PED_USING_SCENARIO_HASH
- IS_PED_USING_ACTION_MODE
- IS_PED_FACING_PED
- IS_PED_HEADTRACKING_PED
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _GET_PED_WHO_HOGITIED_THIS_PED
- _IS_META_PED_USING_COMPONENT
- _IS_PED_DOING_SCENARIO_TRANSITION
- _IS_PED_USING_ACTION_MODE_2
- _SET_SCENARIO_PED_DENSITY_THIS_FRAME
- _SET_SCENARIO_PED_RANGE_MULTIPLIER_THIS_FRAME
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.