Difference between revisions of "TGame.LoadCon"

From Soldat Community Wiki
Jump to: navigation, search
m (Description)
m (Description)
Line 5: Line 5:
 
Changes game configuration<br>
 
Changes game configuration<br>
 
Players are kicked when executed<br>
 
Players are kicked when executed<br>
Returns true if configuration has been loaded, false otherwise
+
Returns true if configuration has been loaded, false otherwise<br>
 
LoadCon is '''not available''' with [[LockedMode|Locked Mode]] ON (according to SoldatServer ReadMe.txt)
 
LoadCon is '''not available''' with [[LockedMode|Locked Mode]] ON (according to SoldatServer ReadMe.txt)
  

Revision as of 14:35, 23 July 2013

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');