requestAdditionalTextForDlc
REQUEST_ADDITIONAL_TEXT_FOR_DLC0x6009F9F1AE90D8A6The 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.
requestAdditionalTextForDlc(gxt: string, slot: number): voidrequestAdditionalTextForDlc(gxt: string, slot: integer)Usage
JavaScript
requestAdditionalTextForDlc(gxt, slot);Lua
requestAdditionalTextForDlc(gxt, slot)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
gxt | string | string | string |
slot | int | number | integer |
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