Fonts and Colors: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
=GTA Colors= | |||
* ~r~ = <font color="#DE3232">Red</font> | * ~r~ = <font color="#DE3232">Red</font> | ||
* ~b~ = <font color="#5CB4E3">Blue</font> | * ~b~ = <font color="#5CB4E3">Blue</font> | ||
| Line 35: | Line 35: | ||
</div><br> | </div><br> | ||
= HUD Colors = | |||
*[https://pastebin.com/9Ssu69fm Colors] | *[https://pastebin.com/9Ssu69fm Colors] | ||
Revision as of 18:09, 28 October 2017
GTA Colors
- ~r~ = Red
- ~b~ = Blue
- ~g~ = Green
- ~y~ = Yellow
- ~p~ = Purple
- ~q~ = Pink
- ~o~ = Orange
- ~c~ = Grey
- ~m~ = Darker Grey
- ~u~ = Black
- ~n~ = New Line
- ~s~ = Default White
- ~w~ = White
- ~h~ = Bold Text
Can be used for notifications:
Example
Server-Side
player.notify('~w~Hello ~b~World')
Client-Side
mp.game.graphics.notify('~w~Hello ~b~World')
HUD Colors
Example
Server-Side
player.notify('~HUD_COLOUR_MENU_YELLOW~Hello ~HUD_COLOUR_MENU_YELLOW_DARK~World')