GET_REGISTERED_COMMANDS
Returns all commands that are registered in the command system. The data returned adheres to the following layout: ``` [ { "name": "cmdlist", "resource": "resource", "arity" = -1, }, { "name": "command1" "resource": "resource_2", "arity" = -1, } ] ```
CFX
Signature
lua
GetRegisteredCommands()
-- returns objectUsage
lua
GetRegisteredCommands()Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
