The Lab
TASK native

_GET_SCENARIO_POINT_COORDS

returns Vector32 paramsbuild 1207

Returns the position of the scenario point scenario.

Signature

C
Vector3 _GET_SCENARIO_POINT_COORDS(int scenario, BOOL p1); // 0xA8452DD321607029 b1207

Parameters

#NameType
1scenarioint
2p1BOOL

Facts

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

Lua
local coords = Citizen.InvokeNative(0xA8452DD321607029, -- _GET_SCENARIO_POINT_COORDS
  0, -- int scenario
  false, -- BOOL p1
  Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)
JavaScript
const coords = Citizen.invokeNative("0xA8452DD321607029", // _GET_SCENARIO_POINT_COORDS
  0, // int scenario
  false, // BOOL p1
  Citizen.resultAsVector()
);
const [x, y, z] = coords
C#
Vector3 coords = Function.Call<Vector3>((Hash)0xA8452DD321607029, // _GET_SCENARIO_POINT_COORDS
  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.