Raised This Month: $ Target: $400
 0% 

Proper client iteration


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Gecko
SourceMod Donor
Join Date: Nov 2010
Location: Vancouver, Canada
Old 09-17-2013 , 21:45   Proper client iteration
Reply With Quote #1

Should iterating over all clients in the server go like this

Code:
for (new i = 1; i <= MAXPLAYERS; i++)
{
}
Or like this?

Code:
for (new i = 0; i < MAXPLAYERS; i++)
{
}
__________________
"My brain is so left-sided, it isn't even funny... at all."

Last edited by Gecko; 09-17-2013 at 21:45.
Gecko is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode