Countdown TextDraw bugged.
#5

Quote:
Originally Posted by -Luis
View Post
Could be because of this Timeleft[playerid] if it's meant to be a global textdraw you should remove the [playerid] part and just have it as Timeleft.
Quote:
Originally Posted by Rajat_Pawar
View Post
pawn Code:
new Text:Yourtextdraw
CMD:countdown(playerid, params[])
{
    new number;
    if(sscanf(params,"d",start)) return SCM(...)
    YourTextdraw = TextdrawCreate( .... number)
    TextDrawShowForAll(...);
    SetTimerEx("Countdown",1000,1,"d",number);
    return 1;
}
forward public Countdown(number);
public Countdown(number)
{
TextDrawSetString(YourTextDraw, number - 1);
TextDrawShowForAll(..);
number -= 1;
return 1;
}
Try a code like this? I don't know if it may work, check it out.
That's not what I'm looking for, that's a countdown command, mine is some kind of "watch"
Reply


Messages In This Thread
Countdown TextDraw bugged. - by Dex007HLH - 16.02.2013, 01:03
Re: Countdown TextDraw bugged. - by Luis- - 16.02.2013, 02:13
Respuesta: Re: Countdown TextDraw bugged. - by Dex007HLH - 16.02.2013, 04:02
Re: Countdown TextDraw bugged. - by RajatPawar - 16.02.2013, 04:12
Respuesta: Re: Countdown TextDraw bugged. - by Dex007HLH - 16.02.2013, 04:17
Re: Countdown TextDraw bugged. - by RajatPawar - 16.02.2013, 04:30
Respuesta: Re: Countdown TextDraw bugged. - by Dex007HLH - 16.02.2013, 04:43
Re: Countdown TextDraw bugged. - by RajatPawar - 16.02.2013, 04:51
Respuesta: Re: Countdown TextDraw bugged. - by Dex007HLH - 16.02.2013, 05:01
Re: Countdown TextDraw bugged. - by RajatPawar - 16.02.2013, 05:04

Forum Jump:


Users browsing this thread: 1 Guest(s)