| 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)