Raised This Month: $ Target: $400
 0% 

Get playing time (being in CT or T team)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 02-05-2009 , 03:31   Re: Get playing time (being in CT or T team)
Reply With Quote #1

Here's a start
PHP Code:
new Counter33 ][ ];

public 
plugin_init()
    
register_event"TeamInfo""join_team""a" );

public 
join_team()
{
    new 
id read_data);
    new 
team];
    
read_data2team);
    
    switch( 
team] )
    {
        case 
'C'// moved to CT, start to count on Counter[ id ][ 1 ]
        
case 'T':  // moved to T, start to count on Counter[ id ][ 0 ]
        
case 'S'// moved to SPECT, start to count on Counter[ id ][ 2 ]
    
}

__________________

anakin_cstrike 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 01:48.


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