setBlipDisplay
SET_BLIP_DISPLAY0x9029B2F3DA924928The GTA V native SET_BLIP_DISPLAY of the HUD namespace, as LS:MP client scripts call it: the global function setBlipDisplay, in JavaScript and in Lua.
setBlipDisplay(blip: Blip, displayId: number): voidsetBlipDisplay(blip: Blip, displayId: integer)Usage
setBlipDisplay(blip, displayId);setBlipDisplay(blip, displayId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
displayId | int | number | integer |
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.
Display Id behaviours:
0 = Doesn't show up, ever, anywhere.
1 = Doesn't show up, ever, anywhere.
2 = Shows on both main map and minimap. (Selectable on map)
3 = Shows on main map only. (Selectable on map)
4 = Shows on main map only. (Selectable on map)
5 = Shows on minimap only.
6 = Shows on both main map and minimap. (Selectable on map)
7 = Doesn't show up, ever, anywhere.
8 = Shows on both main map and minimap. (Not selectable on map)
9 = Shows on minimap only.
10 = Shows on both main map and minimap. (Not selectable on map)
Anything higher than 10 seems to be exactly the same as 10.
Reference
- Namespace
- HUD HUD
- In the game
void SET_BLIP_DISPLAY(Blip blip, int displayId)- Hash
0x9029B2F3DA924928