_GET_SCENARIO_POINT_COORDS
Returns the position of the scenario point scenario.
Signature
Vector3 _GET_SCENARIO_POINT_COORDS(int scenario, BOOL p1); // 0xA8452DD321607029 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenario | int |
| 2 | p1 | BOOL |
Facts
| Name | _GET_SCENARIO_POINT_COORDS |
|---|---|
| Hash | 0xA8452DD321607029 |
| Namespace | |
| Returns | Vector3 |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local coords = Citizen.InvokeNative(0xA8452DD321607029, -- _GET_SCENARIO_POINT_COORDS
0, -- int scenario
false, -- BOOL p1
Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)const coords = Citizen.invokeNative("0xA8452DD321607029", // _GET_SCENARIO_POINT_COORDS
0, // int scenario
false, // BOOL p1
Citizen.resultAsVector()
);
const [x, y, z] = coordsVector3 coords = Function.Call<Vector3>((Hash)0xA8452DD321607029, // _GET_SCENARIO_POINT_COORDS
0, // int scenario
false // BOOL p1
);Related TASK natives
- _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_PED_USING_SCENARIO_POINT
- _SET_SCENARIO_POINT_COORDS
- GET_PROP_FOR_SCENARIO_POINT
- GET_RANSACK_SCENARIO_POINT_PED_IS_USING
- GET_SCRIPTED_COVER_POINT_COORDS
- _GET_LINKED_SCENARIO_POINTS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.