TextDraw opacity? - 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 opacity? (
/showthread.php?tid=569987)
TextDraw opacity? -
Ciarannn - 04.04.2015
Sorry for the bad quality photo, but the textdraw is quite small as it is a speedometer. Anyways, why is the shadow showing through the text? Here is the code for the textdraw:
pawn Код:
kilometers[i] = TextDrawCreate(578.000000, 139.000000, " ");
TextDrawBackgroundColor(kilometers[i], 255);
TextDrawFont(kilometers[i], 3);
TextDrawLetterSize(kilometers[i], 0.470000, 1.400000);
TextDrawColor(kilometers[i], -1);
TextDrawSetOutline(kilometers[i], 0);
TextDrawSetProportional(kilometers[i], 1);
TextDrawSetShadow(kilometers[i], 2);
Here is what it looks like:
Re: TextDraw opacity? -
Sledgehammer - 04.04.2015
TextDrawColor(kilometers[i], 0xFFFFFFFF);