HasSetting

From GTA Network Wiki
Jump to: navigation, search

HasSetting
Server-Side Function

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

Checks if has a setting

Syntax

bool NAPI.Resource.HasSetting(Script scriptEngine, string settingName);

Required Arguments

  • scriptEngine: any 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 bool type.

Usage example(s)

Example Description

NAPI.Resource.HasSetting(this, "prisontime");

Changelog

Version Description
1.0 Release.

References