Textdraw showing upside down? - 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 showing upside down? (
/showthread.php?tid=369031)
Textdraw showing upside down? -
CROSS_Hunter - 15.08.2012
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
Re: Textdraw showing upside down? -
CROSS_Hunter - 15.08.2012
and i need help for the warnings i get at :
https://sampforum.blast.hk/showthread.php?tid=369021
Re: Textdraw showing upside down? -
[MM]RoXoR[FS] - 15.08.2012
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