Textdraw showing upside down?
#1

pawn Код:
new tds[128];
    format(tds, sizeof(tds), "%d",GetPlayerScore(playerid));
    Text:Textdraw1[playerid] = TextDrawCreate(550.000000, 430.000000, tds);
    TextDrawBackgroundColor(Text:Textdraw1[playerid], 255);
    TextDrawFont(Text:Textdraw1[playerid], 3);
    TextDrawLetterSize(Text:Textdraw1[playerid], 0.790000, -2.699999);
    TextDrawColor(Text:Textdraw1[playerid], -65281);
    TextDrawSetOutline(Text:Textdraw1[playerid], 0);
    TextDrawSetProportional(Text:Textdraw1[playerid], 1);
    TextDrawSetShadow(Text:Textdraw1[playerid], 1);
    TextDrawShowForPlayer(playerid, Text:Textdraw1[playerid]);
my score for example is 20 its written as 50 because its upside down and i am using font 3
Reply
#2

and i need help for the warnings i get at : https://sampforum.blast.hk/showthread.php?tid=369021
Reply
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
That's because you set the letter height to a negative number, so they have negative height.
So we can use it to create 3D shadows :O
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)