Native referenceRedM

IS_CONTROL_PRESSED

0xF3A21BCD95725A4A PAD
FUNCTION SIGNATURE
BOOL IS_CONTROL_PRESSED(int padIndex, int control);
Property Value
Native Name IS_CONTROL_PRESSED
Hash 0xF3A21BCD95725A4A
Return Type BOOL
Build 1207
Parameters padIndex (int), control (int)

Description: Returns whether a control is currently pressed.

Parameters

Usage

Lua (Direct):

local result = IsControlPressed(padIndex, control)

Lua (Hash):

local result = Citizen.InvokeNative(0xF3A21BCD95725A4A, padIndex, control)
Back to PAD