1 Question
#1

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
Reply
#2

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)
Reply
#3

Quote:
Originally Posted by Troydere
Посмотреть сообщение
You can use the following type of color input:

https://sampwiki.blast.hk/wiki/GameTextStyle
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 ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)