TGame.LoadCon

From Soldat Community Wiki
Revision as of 15:35, 23 July 2013 by Mighty (talk | contribs) (Description)
Jump to: navigation, search
function LoadCon(ConfigFile: string): Boolean
 ConfigFile: path to config file
 Result: if it worked or not

Description

Changes game configuration
Players are kicked when executed
Returns true if configuration has been loaded, false otherwise
LoadCon is not available with Locked Mode ON (according to SoldatServer ReadMe.txt)

Example

Game.LoadCon('Teammatch_Config.ini');