28.05.2010, 14:14
When only 1 player is left alive, it does nothing... (this is on OnPlayerDeath)
pawn Код:
if((countalive == 1) && pKilled[playerid] == 0)
{
SetTimer("gamewin", 4000, false);
format(string,sizeof(string), "%s has won the deathmatch!", playername);
GameTextForAll(string, 3000, 4);
}