Fonts and Colors: Difference between revisions
No edit summary |
|||
| Line 1: | Line 1: | ||
=GTA Colors= | =GTA Colors= | ||
* ~r~ = <font color="#DE3232">Red</font> | * ~r~ = <font color="#DE3232">Red</font> | ||
* ~b~ = <font color=" | * ~b~ = <font color="#5CB4E3">Blue</font> | ||
* ~g~ = <font color="#71CA71">Green</font> | * ~g~ = <font color="#71CA71">Green</font> | ||
* ~y~ = <font color="#EEC650">Yellow</font> | * ~y~ = <font color="#EEC650">Yellow</font> | ||
Revision as of 15:33, 9 December 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')
DrawText Fonts
- These Fonts can be used in drawText
ChaletLondon - ID: 0
HouseScript - ID: 1
Monospace - ID: 2
CharletComprimeColonge - ID: 4
Pricedown - ID: 7














