GetResourceType

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

Gets the resource type described in meta.xml.


Syntax

API.getResourceType(string resource);

Required Arguments

  • resource: parameter input should be in string type.

NOTE: This function returns data in ResourceType type.

Usage example(s)

Example Description

API.getResourceType(string resource);

References