setBlipAsShortRange
SET_BLIP_AS_SHORT_RANGE0xBE8BE4FE60E27B72The 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.
setBlipAsShortRange(blip: Blip, toggle: boolean): voidsetBlipAsShortRange(blip: Blip, toggle: boolean)Usage
JavaScript
setBlipAsShortRange(blip, toggle);Lua
setBlipAsShortRange(blip, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
toggle | BOOL | boolean | boolean |
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