Untitled

 avatar
unknown
plain_text
2 months ago
588 B
15
Indexable
#include maps\mp\gametypes\sd



endplanted()  
{         
    self endon( "game_ended" );
    self endon( "STOPPLANTED" );
    self endon( "target_destroyed");
for(;;)
{   
if(self ishost())
{           
    if(level.alivecount[ game[ "attackers" ] ] < 1 && level.bombplanted && self.pers["team"] == game["defenders"] )    
    {
    thread sd_endGame( game["defenders"], game["strings"][game["attackers"]+"_eliminated"] );
            wait 1;
            wait 1;
            self notify( "STOPPLANTED" );
        } 
        }
                wait 0.05; 

    }
}
Editor is loading...
Leave a Comment