HUDClient

doesTextBlockExist

DOES_TEXT_BLOCK_EXIST0x1C7302E725259789

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
gxtstringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
HUD HUD
In the game
BOOL DOES_TEXT_BLOCK_EXIST(const char* gxt)
Hash
0x1C7302E725259789

Open in the interactive natives reference