Raised This Month: $ Target: $400
 0% 

loop through all players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-12-2013 , 05:51   Re: loop through all players
Reply With Quote #1

#2 does NOT do the same thing as #1, even with no flags specified. #1 is guaranteed to loop through every index up to MaxPlayers. Whereas #2 will only loop through all indexes that are occupied in the server.

Say you only have 5 users connected and 32 slots max.
#1 will loop through 32 times
#2 will loop through 5 times
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



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 11:11.


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