_GET_WAYPOINT_COORDS
Returns the world coordinates of the player's map waypoint.
Check IS_WAYPOINT_ACTIVE first; the Z value may not match the ground height.
Signature
Vector3 _GET_WAYPOINT_COORDS(); // 0x29B30D07C3F7873B b1207Parameters
This native takes no parameters.
Facts
| Name | _GET_WAYPOINT_COORDS |
|---|---|
| Hash | 0x29B30D07C3F7873B |
| Namespace | |
| Returns | Vector3 |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local coords = Citizen.InvokeNative(0x29B30D07C3F7873B, -- _GET_WAYPOINT_COORDS
Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)const coords = Citizen.invokeNative("0x29B30D07C3F7873B", // _GET_WAYPOINT_COORDS
Citizen.resultAsVector()
);
const [x, y, z] = coordsVector3 coords = Function.Call<Vector3>((Hash)0x29B30D07C3F7873B); // _GET_WAYPOINT_COORDSRelated MAP natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.