Raised This Month: $ Target: $400
 0% 

Looping through all players and getting global variable


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-19-2009 , 08:07   Re: Looping through all players and getting global variable
Reply With Quote #9

Quote:
Originally Posted by xbatista View Post
Still buggy, when 7 terrors left and you will kill all ,it wil write " Preds Left: 1 "
God damn it

Maybe someone can give a good code that will count all tickets from whole terrorist team
I still don't get what tickets are :B

I see no logic in 21, 41, 60 as you said above.

Loop through all alive terrorists and add up tickets?
PHP Code:
for( new <= g_iMaxPlayers i++ )
    if ( 
is_user_alive) && ( get_user_team) == ) )
        
counted_spawns += g_Tickets]; 
__________________

Last edited by Bugsy; 06-19-2009 at 08:16.
Bugsy 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 15:41.


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