GET_PROP_FOR_SCENARIO_POINT
Returns the prop named name associated with the scenario point scenarioPoint.
Signature
Entity GET_PROP_FOR_SCENARIO_POINT(int scenarioPoint, const char* name); // 0x295514F198EFD0CA b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenarioPoint | int |
| 2 | name | const char* |
Facts
| Name | GET_PROP_FOR_SCENARIO_POINT |
|---|---|
| Hash | 0x295514F198EFD0CA |
| 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(0x295514F198EFD0CA, -- GET_PROP_FOR_SCENARIO_POINT
0, -- int scenarioPoint
"text", -- const char* name
Citizen.ResultAsInteger()
)
print(entity)const entity = Citizen.invokeNative("0x295514F198EFD0CA", // GET_PROP_FOR_SCENARIO_POINT
0, // int scenarioPoint
"text", // const char* name
Citizen.resultAsInteger()
);
console.log(entity)int entity = Function.Call<int>((Hash)0x295514F198EFD0CA, // GET_PROP_FOR_SCENARIO_POINT
0, // int scenarioPoint
"text" // const char* name
);Related TASK natives
- 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_PED_IS_USING
- _GET_SCENARIO_POINT_RADIUS
- _GET_SCENARIO_POINT_TYPE
- _GET_SCENARIO_POINT_TYPE_PED_IS_USING
- GET_SCENARIO_POINTS_IN_AREA
- GET_SCRIPTED_COVER_POINT_COORDS
- GET_VEHICLE_WAYPOINT_TARGET_POINT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.