Difference between revisions of "TGame.GameStyle"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''property GameStyle: Byte''''' Access mode: RW ==Description== Number representing the current gamemode used.<br> When executed, players are kicked.<br> Available val...")
 
 
Line 18: Line 18:
 
   Game.GameStyle := 3; // changes gamemode to Capture the flag
 
   Game.GameStyle := 3; // changes gamemode to Capture the flag
 
</syntaxhighlight>
 
</syntaxhighlight>
[[Category:TActivePlayer]]
+
[[Category:TGame]]

Latest revision as of 13:59, 23 July 2013

property GameStyle: Byte
 Access mode: RW

Description

Number representing the current gamemode used.
When executed, players are kicked.
Available values:

 0: Death Match
 1: Point Match
 2: Team Match
 3: Capture the Flag
 4: Rambo
 5: Infiltration 
 6: Hold the Flag 

Example

  Game.GameStyle := 3; // changes gamemode to Capture the flag