_GET_PED_USING_SCENARIO_POINT
Returns the ped currently using the scenario point scenario, or 0 if none.
Signature
Ped _GET_PED_USING_SCENARIO_POINT(int scenario); // 0x5BA659955369B0E2 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenario | int |
Facts
| Name | _GET_PED_USING_SCENARIO_POINT |
|---|---|
| Hash | 0x5BA659955369B0E2 |
| Namespace | |
| Returns | Ped |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local ped = Citizen.InvokeNative(0x5BA659955369B0E2, -- _GET_PED_USING_SCENARIO_POINT
0, -- int scenario
Citizen.ResultAsInteger()
)
print(ped)const ped = Citizen.invokeNative("0x5BA659955369B0E2", // _GET_PED_USING_SCENARIO_POINT
0, // int scenario
Citizen.resultAsInteger()
);
console.log(ped)int ped = Function.Call<int>((Hash)0x5BA659955369B0E2, // _GET_PED_USING_SCENARIO_POINT
0 // int scenario
);Related TASK natives
- _GET_SCENARIO_POINT_PED_IS_USING
- _GET_SCENARIO_POINT_TYPE_PED_IS_USING
- GET_RANSACK_SCENARIO_POINT_PED_IS_USING
- _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
- _GET_PED_WRITHE_BREAK_FREE_PROGRESS
- GET_PROP_FOR_SCENARIO_POINT
- _GET_ITEM_INTERACTION_ENTITY_FROM_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.