The Lab
TASK native

WAYPOINT_RECORDING_GET_COORD

returns BOOL3 paramsbuild 1207

Writes the position of waypoint point of waypointRecording into coord. Returns true on success.

Signature

C
BOOL WAYPOINT_RECORDING_GET_COORD(const char* waypointRecording, int point, Vector3* coord); // 0x2FB897405C90B361 b1207

Parameters

#NameType
1waypointRecordingconst char*
2pointint
3coordVector3* (out pointer)

Facts

Facts about WAYPOINT_RECORDING_GET_COORD
Name
WAYPOINT_RECORDING_GET_COORD
Hash
0x2FB897405C90B361
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result, coord = Citizen.InvokeNative(0x2FB897405C90B361, -- WAYPOINT_RECORDING_GET_COORD
  "text", -- const char* waypointRecording
  0, -- int point
  Citizen.PointerValueVector(), -- Vector3* coord
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, coord] = Citizen.invokeNative("0x2FB897405C90B361", // WAYPOINT_RECORDING_GET_COORD
  "text", // const char* waypointRecording
  0, // int point
  Citizen.pointerValueVector(), // Vector3* coord
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var coordArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x2FB897405C90B361, // WAYPOINT_RECORDING_GET_COORD
  "text", // const char* waypointRecording
  0, // int point
  coordArg // Vector3* coord
);
Vector3 coord = coordArg.GetResult<Vector3>();
All TASK natives

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