{"hash":"0xD4BEF069","ns":"CFX","name":"GET_REGISTERED_COMMANDS","slug":"GET_REGISTERED_COMMANDS","official":true,"named":true,"luaName":"GetRegisteredCommands","game":"cfx","apiset":"shared","returnType":"object","params":[],"returnsDescription":"An object containing registered commands.","summary":"Returns all commands that are registered in the command system.","descriptions":[{"source":"cfx","format":"md","body":"Returns all commands that are registered in the command system.\nThe data returned adheres to the following layout:\n\n```\n[\n{\n\"name\": \"cmdlist\",\n\"resource\": \"resource\",\n\"arity\" = -1,\n},\n{\n\"name\": \"command1\"\n\"resource\": \"resource_2\",\n\"arity\" = -1,\n}\n]\n```"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_REGISTERED_COMMANDS","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_REGISTERED_COMMANDS.md","snippets":{"lua":"local retval = GetRegisteredCommands()","luaInvoke":"local retval = Citizen.InvokeNative(0xd4bef069, Citizen.ResultAsObject2(msgpack.unpack))","js":"const retval = GetRegisteredCommands();","jsInvoke":"const retval = Citizen.invokeNative('0xd4bef069', Citizen.returnResultAnyway(), Citizen.resultAsObject2());","csharp":"Function.Call((Hash)0xd4bef069);","notes":[]}}