GetResourceCommands — RedM Natives
0x97628584 · CFX · shared
Returns all commands registered by the specified resource. The data returned adheres to the following layout: `` [ { "name": "cmdlist", "resource": "example_resource", "arity" = -1, }, { "name": "command1" "resource": "example_resource2", "arity" = -1, } ] ``
Parameters
| Name | Type |
|---|---|
| resource | char* |
Returns
object