setGpsCustomRouteRender
SET_GPS_CUSTOM_ROUTE_RENDER0x900086F371220B6FThe GTA V native SET_GPS_CUSTOM_ROUTE_RENDER of the HUD namespace, as LS:MP client scripts call it: the global function setGpsCustomRouteRender, in JavaScript and in Lua.
setGpsCustomRouteRender(
toggle: boolean,
radarThickness: number,
mapThickness: number
): voidsetGpsCustomRouteRender(
toggle: boolean,
radarThickness: integer,
mapThickness: integer
)Usage
JavaScript
setGpsCustomRouteRender(toggle, radarThickness, mapThickness);Lua
setGpsCustomRouteRender(toggle, radarThickness, mapThickness)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
toggle | BOOL | boolean | boolean | |
radarThickness | int | number | integer | The width of the GPS route on the radar |
mapThickness | int | number | integer | The width of the GPS route on the map |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void SET_GPS_CUSTOM_ROUTE_RENDER(BOOL toggle, int radarThickness, int mapThickness)- Hash
0x900086F371220B6F