ControlsClient

getControlGroupInstructionalButtonsString

GET_CONTROL_GROUP_INSTRUCTIONAL_BUTTONS_STRING0x80C2FD58D720C801

The 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.

SignatureJavaScript
getControlGroupInstructionalButtonsString(
  control: number,
  controlGroup: number,
  allowXOSwap: boolean
): string
SignatureLua
getControlGroupInstructionalButtonsString(
  control: integer,
  controlGroup: integer,
  allowXOSwap: boolean
): string

Usage

JavaScript
const text = getControlGroupInstructionalButtonsString(control, controlGroup, allowXOSwap);
Lua
local text = getControlGroupInstructionalButtonsString(control, controlGroup, allowXOSwap)

Parameters

ParameterTypeJavaScriptLuaDescription
controlintnumberintegerunused parameter
controlGroupintnumberinteger
allowXOSwapBOOLbooleanboolean

Returns

string JavaScript string, Lua string

Reference

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

Open in the interactive natives reference