{"hash":"0xFE99B66D079CF6BC","ns":"PAD","name":"DISABLE_CONTROL_ACTION","slug":"DISABLE_CONTROL_ACTION","official":true,"named":true,"luaName":"DisableControlAction","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"control","type":"int","description":"Control group, usually 0."},{"name":"action","type":"Hash","description":"Input hash, e.g. 0xCEFD9220 for INPUT_ENTER."},{"name":"disableRelatedActions","type":"BOOL"}],"summary":"Disables a control for the current frame; call it every frame to keep it disabled.","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0x351220255D64C155","0x1CEA6BFDF248E5D9"],"build":"1207","gtaHash":"0xFE99B66D079CF6BC","gtaJhash":"0x3800C0DC","sources":["alloc8or","overlay"],"doc":3,"overlayFile":"overlay/natives/0xFE99B66D079CF6BC.md","noteMeta":{"contributors":["borderline-rp"],"tags":["controls","input","gotcha"]},"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.\n\n`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.\n\nTo find who is blocking an input, print `IS_CONTROL_ENABLED` from a debug command:\n\n```lua\nRegisterCommand('inputcheck', function()\n    print('INPUT_ENTER enabled:', IsControlEnabled(0, 0xCEFD9220))\nend)\n```\n\nVerified in game on the Borderline RP server, September 2026.","url":"https://natives.borderlinerp.com/natives/PAD/DISABLE_CONTROL_ACTION","markdownUrl":"https://natives.borderlinerp.com/natives/PAD/DISABLE_CONTROL_ACTION.md","snippets":{"lua":"DisableControlAction(control, action, disableRelatedActions)","luaInvoke":"Citizen.InvokeNative(0xFE99B66D079CF6BC, control, action, disableRelatedActions)","js":"DisableControlAction(control, action, disableRelatedActions);","jsInvoke":"Citizen.invokeNative('0xFE99B66D079CF6BC', control, action, disableRelatedActions);","csharp":"Function.Call((Hash)0xFE99B66D079CF6BC, control, action, disableRelatedActions);","notes":["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` ``."]}}