Difference between revisions of "TGame.LoadCon"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''function LoadCon(ConfigFile: string): Boolean''''' ConfigFile: path to config file Result: if it worked or not ==Description== Changes game configuration<br> Players...")
 
Line 4: Line 4:
 
==Description==
 
==Description==
 
Changes game configuration<br>
 
Changes game configuration<br>
Players are kicked when executed
+
Players are kicked when executed<br>
 
Returns true if configuration has been loaded, false otherwise
 
Returns true if configuration has been loaded, false otherwise
  

Revision as of 13:46, 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

Example

Game.LoadCon('Teammatch_Config.ini');