doesTextLabelExist
DOES_TEXT_LABEL_EXIST0xAC09CA973C564252The GTA V native DOES_TEXT_LABEL_EXIST of the HUD namespace, as LS:MP client scripts call it: the global function doesTextLabelExist, in JavaScript and in Lua.
doesTextLabelExist(gxt: string): booleandoesTextLabelExist(gxt: string): booleanUsage
JavaScript
const result = doesTextLabelExist(gxt);Lua
local result = doesTextLabelExist(gxt)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
gxt | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Checks if the passed gxt name exists in the game files.
Reference
- Namespace
- HUD HUD
- In the game
BOOL DOES_TEXT_LABEL_EXIST(const char* gxt)- Hash
0xAC09CA973C564252