HUDClient

setGpsCustomRouteRender

SET_GPS_CUSTOM_ROUTE_RENDER0x900086F371220B6F

The 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.

SignatureJavaScript
setGpsCustomRouteRender(
  toggle: boolean,
  radarThickness: number,
  mapThickness: number
): void
SignatureLua
setGpsCustomRouteRender(
  toggle: boolean,
  radarThickness: integer,
  mapThickness: integer
)

Usage

JavaScript
setGpsCustomRouteRender(toggle, radarThickness, mapThickness);
Lua
setGpsCustomRouteRender(toggle, radarThickness, mapThickness)

Parameters

ParameterTypeJavaScriptLuaDescription
toggleBOOLbooleanboolean
radarThicknessintnumberintegerThe width of the GPS route on the radar
mapThicknessintnumberintegerThe 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

Open in the interactive natives reference