GetMaxPlayers() as a constant
#6

Quote:
Originally Posted by CrαcK
I simply changed MAX_PLAYERS in a_samp.inc...
But if you release a script, not everyone is going to have changed theirs, and many won't want to have to. And if you just use MAX_PLAYERS for a server with only 10 people, that's 190 iterations of a loop of wasted processing.
Reply


Messages In This Thread
GetMaxPlayers() as a constant - by Spectre - 14.03.2009, 12:39
Re: GetMaxPlayers() as a constant - by Weirdosport - 14.03.2009, 12:46
Re: GetMaxPlayers() as a constant - by pspleo - 14.03.2009, 12:49
Re: GetMaxPlayers() as a constant - by Weirdosport - 14.03.2009, 13:13
Re: GetMaxPlayers() as a constant - by CracK - 14.03.2009, 13:15
Re: GetMaxPlayers() as a constant - by Weirdosport - 14.03.2009, 13:18
Re: GetMaxPlayers() as a constant - by CracK - 14.03.2009, 13:31
Re: GetMaxPlayers() as a constant - by pspleo - 14.03.2009, 13:40
Re: GetMaxPlayers() as a constant - by Weirdosport - 14.03.2009, 13:46
Re: GetMaxPlayers() as a constant - by Spectre - 14.03.2009, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)