Thread
:
nVault Tutorial
View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
09-23-2016 , 14:18 Re: nVault Tutorial
#
84
The maximum number of players that is supported is 32, hence MAX_PLAYERS = 32 is used.
The + 1 is done strictly for sizing an array. Like I said, you could set it directly to 33 but it is not technically proper. You could have other parts of code that need to loop from 1 to max players, in this case if you defined it at 33 you would then need to loop from 1 to MAX_PLAYERS - 1.
I think we are getting off track here, if you want to continue a general scripting discussion please create a thread in scripting help.
__________________
Plugins
|
CSStats Editor
|
nVault Editor
Last edited by Bugsy; 09-23-2016 at
14:19
.
Bugsy
View Public Profile
Send a private message to Bugsy
Find More Posts by Bugsy