_GET_SCENARIO_POINT_ENTITY
Returns the entity the scenario point scenario is attached to, or 0 if none.
Signature
Entity _GET_SCENARIO_POINT_ENTITY(int scenario); // 0x7467165EE97D3C68 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenario | int |
Facts
| Name | _GET_SCENARIO_POINT_ENTITY |
|---|---|
| Hash | 0x7467165EE97D3C68 |
| Namespace | |
| Returns | Entity |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local entity = Citizen.InvokeNative(0x7467165EE97D3C68, -- _GET_SCENARIO_POINT_ENTITY
0, -- int scenario
Citizen.ResultAsInteger()
)
print(entity)const entity = Citizen.invokeNative("0x7467165EE97D3C68", // _GET_SCENARIO_POINT_ENTITY
0, // int scenario
Citizen.resultAsInteger()
);
console.log(entity)int entity = Function.Call<int>((Hash)0x7467165EE97D3C68, // _GET_SCENARIO_POINT_ENTITY
0 // int scenario
);Related TASK natives
- _GET_SCENARIO_POINT_COORDS
- _GET_SCENARIO_POINT_HEADING
- _GET_SCENARIO_POINT_PED_IS_USING
- _GET_SCENARIO_POINT_RADIUS
- _GET_SCENARIO_POINT_TYPE
- _GET_SCENARIO_POINT_TYPE_PED_IS_USING
- _GET_PED_USING_SCENARIO_POINT
- CREATE_SCENARIO_POINT_HASH_ATTACHED_TO_ENTITY
- GET_PROP_FOR_SCENARIO_POINT
- GET_RANSACK_SCENARIO_POINT_PED_IS_USING
- _GET_ITEM_INTERACTION_ENTITY_FROM_PED
- _GET_LINKED_SCENARIO_POINTS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.