SA-MP Forums Archive
Textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraw (/showthread.php?tid=330251)



Textdraw - Tanush123 - 31.03.2012

The color does not show and also for some reason on the textdraw it shows %d
pawn Код:
format(str,sizeof(str),"You have leveled up to {FF0000}level %d",PlayerData[playerid][Hours]);
    Leveltext[playerid] = TextDrawCreate(145 ,386 , str);



Re: Textdraw - T0pAz - 31.03.2012

pawn Код:
Leveltext[playerid] = TextDrawCreate(145, 386, "You have leveled up to level");
format(str,sizeof(str),"You have leveled up to level %d",PlayerData[playerid][Hours]);
TextDrawSetString(Leveltext[playerid], str);
And you cannot use hex colors on textdraw.


Re: Textdraw - Tanush123 - 31.03.2012

I saw some textdraws on other server have multi colors, how can i do that?


Re: Textdraw - T0pAz - 31.03.2012

Creating multiple textdraws and using TextDrawColor.


Re: Textdraw - sjvt - 31.03.2012

wrong topic