1 Question - 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: 1 Question (
/showthread.php?tid=631269)
1 Question -
sas10 - 26.03.2017
hi
there any way to change color textdraw like this!
PHP код:
SendClientMessage(playerid, -1, "{FF0000}You are now robbing the {00FFFF}Casino{FF0000}!");
i tired to make somthing like that
PHP код:
Sky14 = TextDrawCreate(20.000000, 215.000000, "Over Bone {FFFF00}County");
TextDrawBackgroundColor(Sky14, 255);
TextDrawFont(Sky14, 1);
TextDrawLetterSize(Sky14, 0.310000, 1.100000);
TextDrawColor(Sky14, -1);
TextDrawSetOutline(Sky14, 1);
TextDrawSetProportional(Sky14, 1);
but not working the colour and the hex code writing in my text
Re: 1 Question -
Toroi - 26.03.2017
You can use the following type of color input:
https://sampwiki.blast.hk/wiki/GameTextStyle
Quote:
Text Colors
- ~n~ New line
- ~r~ Red
- ~g~ Green
- ~b~ Blue
- ~w~ White
- ~y~ Yellow
- ~p~ Purple
- ~l~ Black (lower case L)
- ~h~ Turn text color lighter (used too much will make your text white, doesn't work on black)
|
Re: 1 Question -
sas10 - 26.03.2017
Quote:
Originally Posted by Troydere
|
thanks its working
but more Question
there only this color to use ?
PHP код:
~n~ New line
~r~ Red
~g~ Green
~b~ Blue
~w~ White
~y~ Yellow
~p~ Purple
~l~ Black (lower case L)
~h~ Turn text color lighter (used too much will make your text white, doesn't work on black)
i want like hex there much color or i cant ?