# PAD::DISABLE_CONTROL_ACTION

- **Hash:** `0xFE99B66D079CF6BC`
- **Namespace:** PAD
- **Runtime name (Lua/JS):** `DisableControlAction`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described with examples
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PAD/DISABLE_CONTROL_ACTION

## Signature

```c
void DISABLE_CONTROL_ACTION(int control, Hash action, BOOL disableRelatedActions);
```

## Parameters

- `control` (`int`) — Control group, usually 0.
- `action` (`Hash`) — Input hash, e.g. 0xCEFD9220 for INPUT_ENTER.
- `disableRelatedActions` (`BOOL`)

## Returns

`void`

## Verified notes

Any resource that disables a control in a per-frame loop disables it for the player everywhere, and the effect survives stopping the other resources you suspect. Check hashes before disabling them.

`0xCEFD9220` is **`INPUT_ENTER`** (E) — mounting a horse, getting on a wagon and many contextual interactions. It is easy to mislabel; a library that disabled it every frame left mounting broken for every player on the server.

To find who is blocking an input, print `IS_CONTROL_ENABLED` from a debug command:

```lua
RegisterCommand('inputcheck', function()
    print('INPUT_ENTER enabled:', IsControlEnabled(0, 0xCEFD9220))
end)
```

Verified in game on the Borderline RP server, September 2026.

## Usage

### Lua

```lua
DisableControlAction(control, action, disableRelatedActions)

-- always available, by hash
Citizen.InvokeNative(0xFE99B66D079CF6BC, control, action, disableRelatedActions)
```

### JavaScript

```js
DisableControlAction(control, action, disableRelatedActions);

// by hash
Citizen.invokeNative('0xFE99B66D079CF6BC', control, action, disableRelatedActions);
```

### C#

```csharp
Function.Call((Hash)0xFE99B66D079CF6BC, control, action, disableRelatedActions);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.

## See also

- [PAD::ENABLE_CONTROL_ACTION](https://natives.borderlinerp.com/natives/PAD/ENABLE_CONTROL_ACTION.md)
- [PAD::IS_CONTROL_ENABLED](https://natives.borderlinerp.com/natives/PAD/IS_CONTROL_ENABLED.md)

*Sources: alloc8or RDR3 NativeDB, RedM Natives (verified notes).*
