GetResourceCommandInfo

From GT-MP
Jump to: navigation, search
GetResourceCommandInfo
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Function Description


Syntax

API.getResourceCommandInfo(string resource, string command);

Required Arguments

  • resource: parameter input should be in string type.
  • command: parameter input should be in string type.

NOTE: This function returns data in CommandInfo type.

Usage example(s)

Example Description

API.getResourceCommandInfo(string resource, string command);

References