get max players defined in server.cfg - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: get max players defined in server.cfg (
/showthread.php?tid=339885)
get max players defined in server.cfg -
TheDeath - 05.05.2012
i Want to get the max_players defined in server.cfg to make player system like X/Max_players online .. So how to get defines in server.cfg
Re: get max players defined in server.cfg -
ViniBorn - 05.05.2012
GetServerVarAsInt
or, in this case, GetMaxPlayers();