The Lab
TASK native

_SET_SCENARIO_POINT_COORDS

returns void5 paramsbuild 1207

Moves the scenario point scenario to (xPos, yPos, zPos).

Signature

C
void _SET_SCENARIO_POINT_COORDS(int scenario, float xPos, float yPos, float zPos, BOOL p4); // 0x2056AB38DF06825C b1207

Parameters

#NameType
1scenarioint
2xPosfloat
3yPosfloat
4zPosfloat
5p4BOOL

Facts

Facts about _SET_SCENARIO_POINT_COORDS
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.

Lua
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
)
JavaScript
// 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
);
C#
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
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.