The Lab
PAD native

DISABLE_ALL_CONTROL_ACTIONS

returns void1 parambuild 1207

Disables every input action on the control group control for the current frame.

Call it every frame while a custom menu or cutscene needs exclusive input.

Signature

C
void DISABLE_ALL_CONTROL_ACTIONS(int control); // 0x5F4B6931816E599B b1207

Parameters

#NameType
1controlint

Facts

Facts about DISABLE_ALL_CONTROL_ACTIONS
Name
DISABLE_ALL_CONTROL_ACTIONS
Hash
0x5F4B6931816E599B
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x5F4B6931816E599B, -- DISABLE_ALL_CONTROL_ACTIONS
  0 -- int control
)
JavaScript
Citizen.invokeNative("0x5F4B6931816E599B", // DISABLE_ALL_CONTROL_ACTIONS
  0 // int control
);
C#
Function.Call((Hash)0x5F4B6931816E599B, // DISABLE_ALL_CONTROL_ACTIONS
  0 // int control
);
All PAD natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.