TGame.LoadCon

From Soldat Community Wiki
Jump to: navigation, search
function LoadCon(ConfigFile: string): Boolean
 ConfigFile: path to config file
 Result: if it worked or not

Description

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

Example

Game.LoadCon('Teammatch_Config.ini');