GetSetting

From GTA Network Wiki
Jump to: navigation, search

GetSetting
Server-Side Function

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

Function Description

Syntax

T NAPI.Resource.GetSetting<T>(Script scriptEngine, string settingName);

Required Arguments

  • scriptEngine: a class instance extending Script. Parameter input should be in Script type.
  • settingName: parameter input should be in string type.

NOTE: This function returns data in dynamic type.

Usage example(s)

Example Description

NAPI.Resource.GetSetting(this, settingName);

Changelog

Version Description
1.0 Release.

References