04.12.2010, 20:38
ok, i solved this problem.
but ive got another question:
how to display this countdown to only one player.
Because now everybody can see the countdown.
regards..

but ive got another question:
how to display this countdown to only one player.
Because now everybody can see the countdown.
pawn Код:
public counterzone(playerid)
{
if(countdownzone > 0)
{
CDONZone = SetTimer("counterzone",990,0);
new string[128];
format(string,sizeof(string),"~g~%d",countdownzone);
GameTextForAll(string,990,5); //here: GameTextForPlayer would be right? But how to do that with this funktion?
countdownzone --;
}
else
{
countdownzone = 0;
}
return 1;
}