displayPlayerNameTagsOnBlips
DISPLAY_PLAYER_NAME_TAGS_ON_BLIPS0x82CEDC33687E1F50The GTA V native DISPLAY_PLAYER_NAME_TAGS_ON_BLIPS of the HUD namespace, as LS:MP client scripts call it: the global function displayPlayerNameTagsOnBlips, in JavaScript and in Lua.
displayPlayerNameTagsOnBlips(toggle: boolean): voiddisplayPlayerNameTagsOnBlips(toggle: boolean)Usage
JavaScript
displayPlayerNameTagsOnBlips(toggle);Lua
displayPlayerNameTagsOnBlips(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
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.
Toggles whether or not name labels are shown on the expanded minimap next to player blips, like in GTA:O.
Doesn't need to be called every frame.
Make sure to call setBlipCategory with index 7 for this to work on the desired blip.
Reference
- Namespace
- HUD HUD
- In the game
void DISPLAY_PLAYER_NAME_TAGS_ON_BLIPS(BOOL toggle)- Hash
0x82CEDC33687E1F50