WAYPOINT_RECORDING_GET_COORD
Hash
0x2FB897405C90B361Runtime name
WaypointRecordingGetCoordNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x2FB897405C90B361Signature
BOOL WAYPOINT_RECORDING_GET_COORD(const char* waypointRecording, int point, Vector3* coord);Parameters
| Name | Type | Description |
|---|---|---|
waypointRecording | const char* | — |
point | int | — |
coord | Vector3* | — |
Returns BOOL
Usage
local retval, coord = WaypointRecordingGetCoord(waypointRecording, point, coord)
-- always works, by hash
local retval, coord = Citizen.InvokeNative(0x2FB897405C90B361, waypointRecording, point, Citizen.PointerValueVector(), Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, coord] = WaypointRecordingGetCoord(waypointRecording, point, coord);
// by hash
const [retval, coord] = Citizen.invokeNative('0x2FB897405C90B361', waypointRecording, point, Citizen.pointerValueVector(), Citizen.returnResultAnyway());var coord = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x2FB897405C90B361, waypointRecording, point, coord);
// coord.GetResult<Vector3>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.