GetPosAlongGpsTypeRoute — FiveM Natives
0xF3162836C28F9DA5 · PATHFIND · all
Native to get a position along current player GPS route using supplied slot. This native was previously named GET_GPS_WAYPOINT_ROUTE_END, but its named changed. ``cpp enum eGpsSlotType { GPS_SLOT_WAYPOINT = 0, GPS_SLOT_RADAR_BLIP = 1, GPS_SLOT_DISCRETE = 2 } ``
Parameters
| Name | Type | Description |
|---|---|---|
| result | Vector3* | Coordinates of waypoint marker |
| bStartAtPlayerPos | BOOL | Should we project distance from the player position or from next node. |
| fDistanceAlongRoute | float | Distance we want to get the position along the route. |
| slotType | int | Type of gps route to check against. See `eGpsSlotType`. |
Returns
BOOL