24.03.2013, 08:07
Try this, not tested
pawn Код:
forward CREDITS_TIMER(playerid);
public CREDITS_TIMER(playerid)
{
TextDrawHideForPlayer(playerid, Textdraw15);
new Str[34];
if(TimeM == 0 && TimeS == 0)
{
KillTimer(Time);
TimeS = 10;
}
format(Str, sizeof(Str), "~n~~y~this box will close automatically in~n~~p~%d seconds.", TimeS);
TextDrawSetString(Textdraw15, Str);
SetTimer("CREDITS_TIMER",1000,false);
return TimeS--;
}