getControlGroupInstructionalButtonsString
GET_CONTROL_GROUP_INSTRUCTIONAL_BUTTONS_STRING0x80C2FD58D720C801The GTA V native GET_CONTROL_GROUP_INSTRUCTIONAL_BUTTONS_STRING of the PAD namespace, as LS:MP client scripts call it: the global function getControlGroupInstructionalButtonsString, in JavaScript and in Lua.
getControlGroupInstructionalButtonsString(
control: number,
controlGroup: number,
allowXOSwap: boolean
): stringgetControlGroupInstructionalButtonsString(
control: integer,
controlGroup: integer,
allowXOSwap: boolean
): stringUsage
JavaScript
const text = getControlGroupInstructionalButtonsString(control, controlGroup, allowXOSwap);Lua
local text = getControlGroupInstructionalButtonsString(control, controlGroup, allowXOSwap)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
control | int | number | integer | unused parameter |
controlGroup | int | number | integer | |
allowXOSwap | BOOL | boolean | boolean |
Returns
string JavaScript string, Lua stringReference
- Namespace
- Controls PAD
- In the game
const char* GET_CONTROL_GROUP_INSTRUCTIONAL_BUTTONS_STRING(int control, int controlGroup, BOOL allowXOSwap)- Hash
0x80C2FD58D720C801- Formerly
GET_CONTROL_GROUP_INSTRUCTIONAL_BUTTON