31.05.2015, 09:50
forward countdownforddo(playerid);
public countdownforddo(playerid)
{
if(CountDown==71) GameTextForPlayer(playerid,"~y~Starting...",1000,1 );
CountDown--;
if(CountDown==0)
{
GameTextForPlayer(playerid,"~r~YOU LOSE!",1000,1);
CountDown = -1;
return 0;
}
else
{
new text[7]; format(text,sizeof(text),"~g~%d",CountDown);
GameTextForPlayer(playerid,text,1000,1);
}
SetTimer("countdownforddo",1000,0);
return 0;
}
How can i script a function to erase this gamemodetext count?
Thanks to all replies,
Rodri.
Rodri99 is online now Add to Rodri99's Reputation Report Post
public countdownforddo(playerid)
{
if(CountDown==71) GameTextForPlayer(playerid,"~y~Starting...",1000,1 );
CountDown--;
if(CountDown==0)
{
GameTextForPlayer(playerid,"~r~YOU LOSE!",1000,1);
CountDown = -1;
return 0;
}
else
{
new text[7]; format(text,sizeof(text),"~g~%d",CountDown);
GameTextForPlayer(playerid,text,1000,1);
}
SetTimer("countdownforddo",1000,0);
return 0;
}
How can i script a function to erase this gamemodetext count?
Thanks to all replies,
Rodri.
Rodri99 is online now Add to Rodri99's Reputation Report Post