RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_REGISTERED_COMMANDS

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 object

Usage

lua
GetRegisteredCommands()

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Usage
  • Details