01.05.2011, 17:37
Well, I'm a bit rusty as of lately, and I've completely forgotten how to change my max player amount in-game, currently I have:
Now, it sets the value correctly, but the RCON Command doesn't seem to be working - Does anybody know what i'm doing wrong? I'm sure it's something stupid, but I can't see it at the moment.
Thank you in advance.
pawn Код:
#define cfg_SERVER_MAXPLAYERS "100" //PARAMETERS: Number value (1-500 as of 0.3c)
SendRconCommand("maxplayers " cfg_SERVER_MAXPLAYERS);
printf("\t[-] Server Max Players: %s", cfg_SERVER_MAXPLAYERS);
Thank you in advance.