Fonts and Colors: Difference between revisions
No edit summary |
|||
| Line 51: | Line 51: | ||
== DrawText Fonts == | == DrawText Fonts == | ||
*These Fonts can be used in <b>[[Graphics::drawText|drawText]]</b> | |||
<span style="font-size:130%; line-height: 1.31em;">'''ChaletLondon - ID: 0'''</span> | <span style="font-size:130%; line-height: 1.31em;">'''ChaletLondon - ID: 0'''</span> | ||
Revision as of 11:56, 30 November 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














