From Multi Theft Auto: Wiki
Revision as of 01:36, 15 August 2011 by Ccw (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function retrieves server settings which are usually stored in the mtaserver.conf file.

Available in 1.1 and onwards


string getServerConfigSetting ( string name )

Required Arguments

  • name : The name of the setting


Returns a string containing the current value for the named setting, or false if the setting does not exist.


This example prints the server minimum allowed client version to the chatbox

outputChatBox( getServerConfigSetting ("minclientversion") )

See Also