18.01.2011, 22:23
Coloque isto em baixo de EmGuerra = 1;
E nas Publics
Espero ter ajudado
pawn Код:
}
SetTimer("TempoFinalizarGuerra", ------, 0);//No Lugar de ------- Coloque o Tempo que voce deseja
return 1;
pawn Код:
}
public TempoFinalizarGuerra()
{
EmGuerra = 0;
WinnerGuerra= 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerGanhou[i] != 0)
{
format(string, sizeof(string), "----------------------", pName);//NO LUGAR DE ---------- voce poe quem ganhou (o texto)
SendClientMessageToAll(---------, string);//A Cor da ORG QUE GANHOR
}
}
return 1;
}