Fonts and Colors

From RAGE Multiplayer Wiki
Revision as of 07:02, 21 April 2018 by Kemperrr (talk | contribs)

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')


Hex Colors Example

NOTE: To use hex colors, you must at the beginning of the text put any GTA Color

Server-Side
player.notify('~w~<font color="#FA00FF">Hello</font> <font color="#00D4FF">World</font>')


DrawText Fonts

ChaletLondon - ID: 0



HouseScript - ID: 1



Monospace - ID: 2



CharletComprimeColonge - ID: 4



Pricedown - ID: 7