HUDClientNot in this build

setBlipGpsRouteDisplayDistance

_SET_BLIP_GPS_ROUTE_DISPLAY_DISTANCE0x25D984CFB64ED6DE

The GTA V native _SET_BLIP_GPS_ROUTE_DISPLAY_DISTANCE of the HUD namespace, as LS:MP client scripts call it: the global function setBlipGpsRouteDisplayDistance, in JavaScript and in Lua.

SignatureJavaScript
setBlipGpsRouteDisplayDistance(
  blip: Blip,
  blipChangeParam46: number,
  blipChangeParam47: boolean
): void
SignatureLua
setBlipGpsRouteDisplayDistance(
  blip: Blip,
  blipChangeParam46: integer,
  blipChangeParam47: boolean
)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
setBlipGpsRouteDisplayDistance(blip, blipChangeParam46, blipChangeParam47);
Lua
setBlipGpsRouteDisplayDistance(blip, blipChangeParam46, blipChangeParam47)

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger
blipChangeParam46intnumberinteger
blipChangeParam47BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void _SET_BLIP_GPS_ROUTE_DISPLAY_DISTANCE(Blip blip, int blipChangeParam46, BOOL blipChangeParam47)
Hash
0x25D984CFB64ED6DE
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference