Team Score problems [+Rep]
#1

I have problem. I am trying to add that map changes if Team score is 100 or after 8 minutes. I managed to make it with the timer but I cannot figure out how to add that it shows textdraw with the team score and it changes map and restarts team score if score is over 100...
Here's my code of the map change:
PHP код:
public StartedNewRound()                          
{
    for(new 
0MAX_PLAYERSi++) {        
        
SpawnPlayer ) ;                       
        switch ( 
MapChange ) {                    
            case 
0:
            {
                
SendClientMessage(i,COLOR_RED,"Map changed");
            }
            case 
1:
            {
                
SendClientMessage(i,COLOR_RED,"Map changed");
            }
            case 
2:
            {
            }
        }
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)