_SET_SCENARIO_POINT_COORDS
Moves the scenario point scenario to (xPos, yPos, zPos).
Signature
void _SET_SCENARIO_POINT_COORDS(int scenario, float xPos, float yPos, float zPos, BOOL p4); // 0x2056AB38DF06825C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenario | int |
| 2 | xPos | float |
| 3 | yPos | float |
| 4 | zPos | float |
| 5 | p4 | BOOL |
Facts
| Name | _SET_SCENARIO_POINT_COORDS |
|---|---|
| Hash | 0x2056AB38DF06825C |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x2056AB38DF06825C, -- _SET_SCENARIO_POINT_COORDS
0, -- int scenario
0.0, -- float xPos
0.0, -- float yPos
0.0, -- float zPos
false -- BOOL p4
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x2056AB38DF06825C", // _SET_SCENARIO_POINT_COORDS
0, // int scenario
0.0, // float xPos
0.0, // float yPos
0.0, // float zPos
false // BOOL p4
);Function.Call((Hash)0x2056AB38DF06825C, // _SET_SCENARIO_POINT_COORDS
0, // int scenario
0.0f, // float xPos
0.0f, // float yPos
0.0f, // float zPos
false // BOOL p4
);Related TASK natives
- _SET_SCENARIO_POINT_ACTIVE
- _SET_SCENARIO_POINT_FLAG
- _SET_SCENARIO_POINT_HEADING
- _SET_SCENARIO_POINT_RADIUS
- _SET_SCENARIO_GROUP_ENABLED_HASH
- _SET_SCENARIO_TYPE_ENABLED_HASH
- _GET_SCENARIO_POINT_COORDS
- _IS_SCENARIO_POINT_FLAG_SET
- _SET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE
- _DELETE_SCENARIO_POINT
- _DOES_SCENARIO_POINT_HAVE_PROPS
- _GET_PED_USING_SCENARIO_POINT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.