PHP Code:
public Fwd_PlayerKilled()
{
if(getPlayers(CS_TEAM_T) == 1) // we have a winner
{
StopGame()
ColorChat(0, GREY, "Death Match")
}
//but you have the game to NOT stop in the following cases. But instead of elses, we use switch between games
else
{
switch(g_iCurrentGame)
{
case GAME_NO: return
case GAME_SPARTA: return
case GAME_SHARK: return
}
}
}
This doesn't work .
As you see when there is 1 T left Stopgame should run.
But if it's GAME_... those you can see, it shouldn't run Stopgame..
It doesn't work for me