GetResourceSetting

From GTA Network Wiki
Jump to: navigation, search

GetResourceSetting
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Function Description

Syntax

T NAPI.Resource.GetResourceSetting<T>(string resource, string setting);

Required Arguments

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

NOTE: This function returns data in T type.

Usage example(s)

Example Description

int whatever = NAPI.Resource.GetResourceSetting<int>(resource, setting);

Changelog

Version Description
1.0 Release.

References