DisableControlAction
DocsDisableControlAction(padIndex, control, disable)Description
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.
Parameters
| Name | Type | Description |
|---|---|---|
padIndex | int | — |
control | int | — |
disable | BOOL | — |
Returns
voidThis native does not return a value.