Here's a start
PHP Code:
new Counter[ 33 ][ 3 ];
public plugin_init()
register_event( "TeamInfo", "join_team", "a" );
public join_team()
{
new id = read_data( 1 );
new team[ 2 ];
read_data( 2, team, 1 );
switch( team[ 0 ] )
{
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 ]
}
}
__________________