The Lab
TASK native

_GET_SCENARIO_POINT_HEADING

returns float2 paramsbuild 1207

Returns the heading of the scenario point scenario.

Signature

C
float _GET_SCENARIO_POINT_HEADING(int scenario, BOOL p1); // 0xB93EA7184BAA85C3 b1207

Parameters

#NameType
1scenarioint
2p1BOOL

Facts

Facts about _GET_SCENARIO_POINT_HEADING
Name
_GET_SCENARIO_POINT_HEADING
Hash
0xB93EA7184BAA85C3
Namespace
Returns
float
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xB93EA7184BAA85C3, -- _GET_SCENARIO_POINT_HEADING
  0, -- int scenario
  false, -- BOOL p1
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xB93EA7184BAA85C3", // _GET_SCENARIO_POINT_HEADING
  0, // int scenario
  false, // BOOL p1
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0xB93EA7184BAA85C3, // _GET_SCENARIO_POINT_HEADING
  0, // int scenario
  false // BOOL p1
);
All TASK natives

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