Raised This Month: $ Target: $400
 0% 

last terrorist help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
vitorrd
Senior Member
Join Date: Jul 2009
Old 10-06-2009 , 11:36   Re: last terrorist help
Reply With Quote #7

Not fastest, though.
The use of flags slow down the function, a lot. The fastest way would be looping through 1 and get_maxplayers() checking if the user is alive and if the user is in that team. Calling an extra function (get_players in this case) will copy the IDs of the players to your array, and will very likely do the very same checks than my method.
vitorrd 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 22:41.


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