requestAdditionalText
REQUEST_ADDITIONAL_TEXT0x71A78003C8E71424The GTA V native REQUEST_ADDITIONAL_TEXT of the HUD namespace, as LS:MP client scripts call it: the global function requestAdditionalText, in JavaScript and in Lua.
requestAdditionalText(gxt: string, slot: number): voidrequestAdditionalText(gxt: string, slot: integer)Usage
JavaScript
requestAdditionalText(gxt, slot);Lua
requestAdditionalText(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 between 0 and 21; gxt is required. Otherwise the call is ignored: nothing reaches the game, and no error is raised.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Request a gxt into the passed slot.
Reference
- Namespace
- HUD HUD
- In the game
void REQUEST_ADDITIONAL_TEXT(const char* gxt, int slot)- Hash
0x71A78003C8E71424