SetResourceDefaultSetting

From Multi Theft Auto: Wiki
Revision as of 19:34, 23 June 2009 by Awwu (talk | contribs) (New page: __NOTOC__ {{Server function}} This function is used to set a default setting for a specified resource. <!-- What are default settings? --> Category:Incomplete <!-- Do not remove u...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function is used to set a default setting for a specified resource.

Syntax

bool setResourceDefaultSetting ( resource theResource, string settingName, string/int/float settingValue )

Required Arguments

  • theResource: the resource where the setting is located
  • settingName: the name of the default setting
  • settingValue: the new value of the setting

Returns

Returns true if the default setting was successfully set, false otherwise.

Example

--TODO

See Also

Shared