Native referenceFiveM

DISABLE_CONTROL_ACTION

0xFE99B66D079CF6BC PAD
FUNCTION SIGNATURE
void DISABLE_CONTROL_ACTION(int padIndex, int control, BOOL disable);
Property Value
Native Name DISABLE_CONTROL_ACTION
Hash 0xFE99B66D079CF6BC
Return Type void
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.

Back to PAD