HUDClientChecked by LS:MP

hasAdditionalTextLoaded

HAS_ADDITIONAL_TEXT_LOADED0x02245FE4BED318B8

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

SignatureJavaScript
hasAdditionalTextLoaded(slot: number): boolean
SignatureLua
hasAdditionalTextLoaded(slot: integer): boolean

Usage

JavaScript
const result = hasAdditionalTextLoaded(slot);
Lua
local result = hasAdditionalTextLoaded(slot)

Parameters

ParameterTypeJavaScriptLua
slotintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

On LS:MP

ℹ
Checked by LS:MP

slot must be between 0 and 22. Otherwise the call is ignored and returns false: nothing reaches the game, and no error is raised.

Reference

Namespace
HUD HUD
In the game
BOOL HAS_ADDITIONAL_TEXT_LOADED(int slot)
Hash
0x02245FE4BED318B8

Open in the interactive natives reference