14.10.2011, 22:13
pawn Код:
public contagemX1(p1,p2)
{
new string[128];
tempox1--;
format(string,sizeof(string),"~r~%d",tempox1);
GameTextForPlayer(p1, string, 1000, 3), GameTextForPlayer(p2, string, 1000, 3);
PlayerPlaySound(p1, 1057, 0.0, 0.0, 0.0), PlayerPlaySound(p2, 1057, 0.0, 0.0, 0.0);
if(tempox1 == 0)
{
KillTimer(timerx1);
tempox1 = 60;
TogglePlayerControllable(p1, 1), TogglePlayerControllable(p2, 1);
}
return 1;
}