HUDClient

hasThisAdditionalTextLoaded

HAS_THIS_ADDITIONAL_TEXT_LOADED0xADBF060E2B30C5BC

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

SignatureJavaScript
hasThisAdditionalTextLoaded(gxt: string, slot: number): boolean
SignatureLua
hasThisAdditionalTextLoaded(gxt: string, slot: integer): boolean

Usage

JavaScript
const result = hasThisAdditionalTextLoaded(gxt, slot);
Lua
local result = hasThisAdditionalTextLoaded(gxt, slot)

Parameters

ParameterTypeJavaScriptLua
gxtstringstringstring
slotintnumberinteger

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 specified gxt has loaded into the passed slot.

Reference

Namespace
HUD HUD
In the game
BOOL HAS_THIS_ADDITIONAL_TEXT_LOADED(const char* gxt, int slot)
Hash
0xADBF060E2B30C5BC

Open in the interactive natives reference