RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_RESOURCE_COMMANDS

GET_RESOURCE_COMMANDS

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, } ] ```

CFX

Signature

lua
GetResourceCommands(resource)
-- returns object

Parameters

NameTypeDescription
char*—

Usage

lua
GetResourceCommands(resource)

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
  • Parameters
  • Usage
  • Details