HUDClientChecked by LS:MP

requestAdditionalTextForDlc

REQUEST_ADDITIONAL_TEXT_FOR_DLC0x6009F9F1AE90D8A6

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

SignatureJavaScript
requestAdditionalTextForDlc(gxt: string, slot: number): void
SignatureLua
requestAdditionalTextForDlc(gxt: string, slot: integer)

Usage

JavaScript
requestAdditionalTextForDlc(gxt, slot);
Lua
requestAdditionalTextForDlc(gxt, slot)

Parameters

ParameterTypeJavaScriptLua
gxtstringstringstring
slotintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

On LS:MP

ℹ
Checked by LS:MP

slot must be a DLC text slot: 11 to 15, or 20; gxt is required. Otherwise the call is ignored: nothing reaches the game, and no error is raised.

Reference

Namespace
HUD HUD
In the game
void REQUEST_ADDITIONAL_TEXT_FOR_DLC(const char* gxt, int slot)
Hash
0x6009F9F1AE90D8A6
Formerly
_REQUEST_ADDITIONAL_TEXT_2

Open in the interactive natives reference