Textdraw
#1

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);
Reply
#2

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.
Reply
#3

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

Creating multiple textdraws and using TextDrawColor.
Reply
#5

wrong topic
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)