| Property | Value |
|---|---|
| Native Name | DISABLE_CONTROL_ACTION |
| Hash | 0xFE99B66D079CF6BC |
| Return Type | void |
| Build | 1207 |
| Parameters | padIndex (int), control (int), disable (BOOL) |
Description: Control values and meaning
Example: CONTROLS::DISABLE_CONTROL_ACTION(2, 19, true) disables the switching UI from appearing both when using a keyboard and Xbox 360 controller. Needs to be executed each frame.
Control group 1 and 0 gives the same results as 2. Same results for all players.
Usage
Lua (Direct):
DisableControlAction(padIndex, control, disable)
Lua (Hash):
Citizen.InvokeNative(0xFE99B66D079CF6BC, padIndex, control, disable)