Fonts

From GTA Network Wiki
Jump to: navigation, search

Fonts

Preset 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

You can find a page of color codes from previous GTA games here.

Example

API.SendChatMessageToAll("~g~Hello ~b~world");

Result: Hello world


HTML (Hex) Colors

You can use custom hex colors for chat messages by passing it as the sender parameter. This only works for chat messages at the moment. W3School's Color Picker (link) can be used for this.

Example

API.SendChatMessageToAll("~#FF0000~", "Hello world");

Result: Hello world


Special Characters

  • ¦ = Rockstar Verified Icon RockstarIcon2.png
  • ÷ = Rockstar Icon (doesn't seem to work)
  • ∑ = Rockstar Icon 2 RockstarIcon1.png


Fonts

For use with DrawText.

ChaletLondon - ID: 0



HouseScript - ID: 1



Monospace - ID: 2



CharletComprimeColonge - ID: 4



Pricedown - ID: 7

Changelog

Version Description
1.0 Release.