addPointToGpsCustomRoute
ADD_POINT_TO_GPS_CUSTOM_ROUTE0x311438A071DD9B1AThe GTA V native ADD_POINT_TO_GPS_CUSTOM_ROUTE of the HUD namespace, as LS:MP client scripts call it: the global function addPointToGpsCustomRoute, in JavaScript and in Lua.
addPointToGpsCustomRoute(x: number, y: number, z: number): voidaddPointToGpsCustomRoute(x: number, y: number, z: number)Usage
JavaScript
addPointToGpsCustomRoute(x, y, z);Lua
addPointToGpsCustomRoute(x, y, z)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
JavaScript · with vectors
addPointToGpsCustomRoute(pos);Lua · with vectors
addPointToGpsCustomRoute(pos)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x | float | number | number |
y | float | number | number |
z | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void ADD_POINT_TO_GPS_CUSTOM_ROUTE(float x, float y, float z)- Hash
0x311438A071DD9B1A