HUDClient

setBlipAsShortRange

SET_BLIP_AS_SHORT_RANGE0xBE8BE4FE60E27B72

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

SignatureJavaScript
setBlipAsShortRange(blip: Blip, toggle: boolean): void
SignatureLua
setBlipAsShortRange(blip: Blip, toggle: boolean)

Usage

JavaScript
setBlipAsShortRange(blip, toggle);
Lua
setBlipAsShortRange(blip, toggle)

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Sets whether or not the specified blip should only be displayed when nearby, or on the minimap.

Reference

Namespace
HUD HUD
In the game
void SET_BLIP_AS_SHORT_RANGE(Blip blip, BOOL toggle)
Hash
0xBE8BE4FE60E27B72

Open in the interactive natives reference