Defining Max Players from server.cfg
#2

1. Definitions are used by pawn pre-rpocessor, so you cannot define something non-constant
2. There's function GetMaxPlayers to get servers slots
3. In your case you need to do this:
Код:
#undef MAX_PLAYERS
#define MAX_PLAYERS (50)
Reply


Messages In This Thread
Defining Max Players from server.cfg - by Spectre - 16.02.2011, 13:28
Re: Defining Max Players from server.cfg - by Sergei - 16.02.2011, 13:33
Re: Defining Max Players from server.cfg - by Spectre - 16.02.2011, 13:43
Re: Defining Max Players from server.cfg - by watkijkje - 16.02.2011, 15:39
Re: Defining Max Players from server.cfg - by Jochemd - 16.02.2011, 15:46
Re: Defining Max Players from server.cfg - by Spectre - 17.02.2011, 02:14
Re: Defining Max Players from server.cfg - by Steven82 - 17.02.2011, 04:46
Re: Defining Max Players from server.cfg - by Cactus2010 - 17.02.2011, 05:01
Re: Defining Max Players from server.cfg - by Mean - 17.02.2011, 09:30
Re: Defining Max Players from server.cfg - by Sascha - 17.02.2011, 10:34

Forum Jump:


Users browsing this thread: 2 Guest(s)