HasResourceSetting

From GTA Network Wiki
Jump to: navigation, search

HasResourceSetting
Server-Side Function

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

Checks if a resource has a setting.

Syntax

bool NAPI.Resource.HasResourceSetting(string resource, string settingName);

Required Arguments

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

NOTE: This function returns data in bool type.

Usage example(s)

Example Description

NAPI.Resource.HasResourceSetting("copsandrobbers", "prisontime");

Changelog

Version Description
1.0 Release.

References