HUDClient

displayPlayerNameTagsOnBlips

DISPLAY_PLAYER_NAME_TAGS_ON_BLIPS0x82CEDC33687E1F50

The 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.

SignatureJavaScript
displayPlayerNameTagsOnBlips(toggle: boolean): void
SignatureLua
displayPlayerNameTagsOnBlips(toggle: boolean)

Usage

JavaScript
displayPlayerNameTagsOnBlips(toggle);
Lua
displayPlayerNameTagsOnBlips(toggle)

Parameters

ParameterTypeJavaScriptLua
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.

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

Open in the interactive natives reference