OutLine - 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: OutLine (
/showthread.php?tid=632319)
OutLine -
Loinal - 12.04.2017
Hello i need a small help
PHP код:
TextDrawSetOutline(Te, 2);
How to change the outline color from Black to white?
Re: OutLine -
khRamin78 - 12.04.2017
"TextDrawSetOutline Sets the thickness of a textdraw's text's outline. TextDrawBackgroundColor can be used to change the color."
https://sampwiki.blast.hk/wiki/TextDrawSetOutline
https://sampwiki.blast.hk/wiki/TextDrawBackgroundColor
If TextDrawSetOutline is used with size > 0, the outline color will match the color used in TextDrawBackgroundColor. Changing the value of color seems to alter the color used in TextDrawColor
Re: OutLine -
Loinal - 12.04.2017
Quote:
Originally Posted by khRamin78
|
It looks poor its have too high light
PHP код:
Te = TextDrawCreate(0.400007, 435.947021, "~w~ZX - ZoneX Build 4");
TextDrawLetterSize(Te, 0.303999, 0.875733);
TextDrawTextSize(Te, 753.000000, 0.000000);
TextDrawAlignment(Te, 1);
TextDrawColor(Te,6);
TextDrawSetShadow(Te, 0);
TextDrawSetOutline(Te, 1);
TextDrawBackgroundColor(Te, 0xFFFFFFFF);
TextDrawFont(Te, 1);
TextDrawSetProportional(Te, 1);
TextDrawSetShadow(Te, 0);
Re: OutLine -
khRamin78 - 12.04.2017
use ingame textdraw editor it would help you so much
Re: OutLine -
Loinal - 12.04.2017
Quote:
Originally Posted by khRamin78
use ingame textdraw editor it would help you so much
|
No, i want to create it by myself also many people tried to make it with editor without learning how it works or even to ask any one so, I only need a good person to help me in that textdraw problem.
Re: OutLine -
khRamin78 - 12.04.2017
Quote:
Originally Posted by Loinal
No, i want to create it by myself also many people tried to make it with editor without learning how it works or even to ask any one so, I only need a good person to help me in that textdraw problem.
|
just make it with text draw editor and see the different with your own code
easy way to learn ok ?
Re: OutLine -
Loinal - 12.04.2017
Quote:
Originally Posted by khRamin78
just make it with text draw editor and see the different with your own code easy way to learn ok ?
|
Thanks, but its already fixed by my mind the box was black and textcolor is white and the outline was white that makes it look poor.