TGame.MaxPlayers

From Soldat Community Wiki
Revision as of 13:05, 23 July 2013 by Mighty (talk | contribs) (Created page with " '''''property MaxPlayers: Byte''''' Access mode: RW ==Description== Number representing maximum players that can play on the server at the same time.<br> When executed, p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
property MaxPlayers: Byte
 Access mode: RW

Description

Number representing maximum players that can play on the server at the same time.
When executed, players are never kicked.

Example

  // a never-full server
  if Game.NumPlayers = Game.MaxPlayers then
    Game.MaxPlayers := Game.MaxPlayers + 1;