Fonts

From GT-MP
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

Highlighting

You can use <C>text</C> to "highlight" stuff just like in GTA Online's player name display on notifications. This only works for stuff that uses scaleform. (Shards, notifications, midsized messages)

ScaleformHighlightExample.png

API.sendNotification("Death: <C>playerName</C> killed <C>playerName2</C>.");

Fonts

For use with drawText.

ChaletLondon - ID: 0



HouseScript - ID: 1



Monospace - ID: 2



CharletComprimeColonge - ID: 4



Pricedown - ID: 7