HUDClient

setBlipNameFromTextFile

SET_BLIP_NAME_FROM_TEXT_FILE0xEAA0FFE120D92784

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

SignatureJavaScript
setBlipNameFromTextFile(blip: Blip, gxtEntry: string): void
SignatureLua
setBlipNameFromTextFile(blip: Blip, gxtEntry: string)

Usage

JavaScript
setBlipNameFromTextFile(blip, gxtEntry);
Lua
setBlipNameFromTextFile(blip, gxtEntry)

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger
gxtEntrystringstringstring

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.

Doesn't work if the label text of gxtEntry is >= 80.

Reference

Namespace
HUD HUD
In the game
void SET_BLIP_NAME_FROM_TEXT_FILE(Blip blip, const char* gxtEntry)
Hash
0xEAA0FFE120D92784

Open in the interactive natives reference