Native referenceRedMclient

_SET_CONTROL_CONTEXT

0x2804658EB7D8A50B PAD
FUNCTION SIGNATURE
void _SET_CONTROL_CONTEXT(int control, Hash context);
Property Value
Native Name _SET_CONTROL_CONTEXT
Hash 0x2804658EB7D8A50B
Return Type void
Build 1207
API Set client
Parameters control (int), context (Hash)

Description: Sets the current control context. Must be called every frame.

context: https://alloc8or.re/rdr3/doc/misc/input_contexts.txt For more information, see common:/data/control/settings.meta https://github.com/femga/rdr3_discoveries/tree/master/Controls

Usage

Lua (Direct):

SetControlContext(control, context)

Lua (Hash):

Citizen.InvokeNative(0x2804658EB7D8A50B, control, context)
Back to PAD