_GET_WAYPOINT_POSITION
Unlike `GET_WAYPOINT_COORDS - 0x29B30D07C3F7873B`, which returns a single value, this native returns the x and y coordinates of the waypoint separately as floats from pointer. To retrieve each coordinate, `Citizen.PointerValueFloat()` must be used with this function.
MAPBuild 1207
Signature
lua
GetWaypointPosition(x, y)
-- returns AnyParameters
| Name | Type | Description |
|---|---|---|
| float* | — | |
| float* | — |
Usage
lua
GetWaypointPosition(x, y)Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
