GetResourceType

From GTA Network Wiki
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

ResourceType NAPI.Resource.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

NAPI.Resource.GetResourceType(resource);

Changelog

Version Description
1.0 Release.

References