19.05.2011, 14:36
Thanks Sasha for CountDown tutorial but this code is supossed to be correct(I modified with GameTextForAll to GameTextForPlayer)
Undefined playerid(:O?:OO? /facepalm)
pawn Код:
public CountDown()
{
new string[20];
format(string, sizeof(string), "%d seconds remained", countn);
GameTextForPlayer(playerid,string,10000,4);
countn--;
if(countn <= -1)
{
KillTimer(counttimer);
}
return 1;
}