{"hash":"0xBC0884BC590951C7","ns":"PAD","name":"_IS_CONTROL_ACTION_VALID","slug":"_IS_CONTROL_ACTION_VALID","official":false,"named":true,"luaName":"IsControlActionValid","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"action","type":"Hash"},{"name":"control","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PAD/_IS_CONTROL_ACTION_VALID","markdownUrl":"https://natives.borderlinerp.com/natives/PAD/_IS_CONTROL_ACTION_VALID.md","snippets":{"lua":"local retval = IsControlActionValid(action, control)","luaInvoke":"local retval = Citizen.InvokeNative(0xBC0884BC590951C7, action, control, Citizen.ReturnResultAnyway())","js":"const retval = IsControlActionValid(action, control);","jsInvoke":"const retval = Citizen.invokeNative('0xBC0884BC590951C7', action, control, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xBC0884BC590951C7, action, control);","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` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}