_GET_SCENARIO_POINT_PED_IS_USING
Returns the scenario point ped is currently using, or -1 if none.
Signature
int _GET_SCENARIO_POINT_PED_IS_USING(Ped ped, BOOL p1); // 0xDF7993356F52359A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | p1 | BOOL |
Facts
| Name | _GET_SCENARIO_POINT_PED_IS_USING |
|---|---|
| Hash | 0xDF7993356F52359A |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xDF7993356F52359A, -- _GET_SCENARIO_POINT_PED_IS_USING
PlayerPedId(), -- Ped ped
false, -- BOOL p1
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xDF7993356F52359A", // _GET_SCENARIO_POINT_PED_IS_USING
PlayerPedId(), // Ped ped
false, // BOOL p1
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xDF7993356F52359A, // _GET_SCENARIO_POINT_PED_IS_USING
API.PlayerPedId(), // Ped ped
false // BOOL p1
);Related TASK natives
- _GET_SCENARIO_POINT_TYPE_PED_IS_USING
- GET_RANSACK_SCENARIO_POINT_PED_IS_USING
- _GET_PED_USING_SCENARIO_POINT
- _GET_SCENARIO_POINT_COORDS
- _GET_SCENARIO_POINT_ENTITY
- _GET_SCENARIO_POINT_HEADING
- _GET_SCENARIO_POINT_RADIUS
- _GET_SCENARIO_POINT_TYPE
- _GET_PED_IS_IGNORING_DEAD_BODIES
- _IS_PED_ARRESTING_ANY_PED
- _IS_SCENARIO_POINT_ACTIVE
- _IS_SCENARIO_POINT_FLAG_SET
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.