The Lab
TASK native

_SET_SCENARIO_POINT_HEADING

returns void3 paramsbuild 1207

Sets the heading of the scenario point scenario.

Signature

C
void _SET_SCENARIO_POINT_HEADING(int scenario, float heading, BOOL p2); // 0xD3A0DA8F91612C6E b1207

Parameters

#NameType
1scenarioint
2headingfloat
3p2BOOL

Facts

Facts about _SET_SCENARIO_POINT_HEADING
Name
_SET_SCENARIO_POINT_HEADING
Hash
0xD3A0DA8F91612C6E
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(0xD3A0DA8F91612C6E, -- _SET_SCENARIO_POINT_HEADING
  0, -- int scenario
  0.0, -- float heading
  false -- BOOL p2
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xD3A0DA8F91612C6E", // _SET_SCENARIO_POINT_HEADING
  0, // int scenario
  0.0, // float heading
  false // BOOL p2
);
C#
Function.Call((Hash)0xD3A0DA8F91612C6E, // _SET_SCENARIO_POINT_HEADING
  0, // int scenario
  0.0f, // float heading
  false // BOOL p2
);
All TASK natives

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