HUDClient

doesTextLabelExist

DOES_TEXT_LABEL_EXIST0xAC09CA973C564252

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

SignatureJavaScript
doesTextLabelExist(gxt: string): boolean
SignatureLua
doesTextLabelExist(gxt: string): boolean

Usage

JavaScript
const result = doesTextLabelExist(gxt);
Lua
local result = doesTextLabelExist(gxt)

Parameters

ParameterTypeJavaScriptLua
gxtstringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Open in the interactive natives reference