how to add textdraw string? :o
#1

I have problem with creating my txtdraw string (time string) and heres my code and I tried it like this but nothing happens....
pawn Код:
new Text:Timerr;
           new Seconds = 59;
pawn Код:
Timerr = TextDrawCreate(11.000000, 173.000000,"minute!!");
TextDrawAlignment(Timerr,0);
TextDrawBackgroundColor(Timerr,0x000000ff);
TextDrawFont(Timerr,1);
TextDrawLetterSize(Timerr,1.699999,1.600000);
TextDrawColor(Timerr,0x00ff0099);
TextDrawSetOutline(Timerr,1);
TextDrawSetProportional(Timerr,1);
TextDrawSetShadow(Timerr,1);

pawn Код:
CMD:txttimer(playerid,params[])
{
  SetTimerEx("Carcel",90000,0,"i",playerid);
  return 1;
}
pawn Код:
forward Carcel(playerid);
public Carcel(playerid)
{
        Seconds--;
        new string[128];
        format(string,sizeof(string)," %d Seconds",Seconds);
        TextDrawSetString(Timerr,string);
}
there xD
Reply
#2

TextDrawShowForPlayer or TextDrawShowForAll
Reply
#3

it wont work :P
Reply
#4

bump... someone pls!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)