{"hash":"0x1CEA6BFDF248E5D9","ns":"PAD","name":"IS_CONTROL_ENABLED","slug":"IS_CONTROL_ENABLED","official":true,"named":true,"luaName":"IsControlEnabled","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"control","type":"int"},{"name":"action","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x1CEA6BFDF248E5D9","gtaJhash":"0x9174AF84","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PAD/IS_CONTROL_ENABLED","markdownUrl":"https://natives.borderlinerp.com/natives/PAD/IS_CONTROL_ENABLED.md","snippets":{"lua":"local retval = IsControlEnabled(control, action)","luaInvoke":"local retval = Citizen.InvokeNative(0x1CEA6BFDF248E5D9, control, action, Citizen.ReturnResultAnyway())","js":"const retval = IsControlEnabled(control, action);","jsInvoke":"const retval = Citizen.invokeNative('0x1CEA6BFDF248E5D9', control, action, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x1CEA6BFDF248E5D9, control, action);","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` ``."]}}