GameText Styles
To be used with GameText.
Text Colors
-
~n~
New line -
~r~
Red -
~g~
Green -
~b~
Blue -
~w~
orsWhite -
~y~
Yellow -
~p~
Purple -
~l~
Black (lower case L) -
~h~
Turn text color lighter (used too much will make your text white, doesn't work on black)
Special Text Letters
-
~u~
up arrow (gray) -
~d~
down arrow (gray) -
~<~
left arrow (gray) -
~>~
right arrow (gray) -
]
displays a * symbol (Only in text styles 3, 4 and 5) -
~k~
keyboard key mapping (e.g.k~~VEHICLE_TURRETLEFTandk~~PED_FIREWEAPON). Look here for a list of keys
caution
Be careful, using too many text colors or special characters in one gametext may crash every player the gametext is shown to. Additionally, avoid using an uneven usage of the ~ character. Example: ~
rHello, ghow are y~
you?~
Text Styles
Style | Preview | Description |
---|---|---|
Style 0 | ![]() | Appears for 9 seconds regardless of time setting. Hides textdraws and any other gametext on screen. Fixed in fixes.inc. |
Style 1 | ![]() | Fades out after 8 seconds, regardless of time set. If you have a time setting longer than that, it will re-appear after fading out and repeat until the time ends. Fixed in fixes.inc. |
Style 2 | ![]() | N/A |
Style 3 | ![]() | N/A |
Style 4 | ![]() | N/A |
Style 5 | ![]() | Displays for 3 seconds, regardless of what time you set. Will refuse to be shown if it is 'spammed'. Fixed in fixes.inc. |
Style 6 | ![]() | N/A |
Style 7 | ![]() | Based on SA vehicle names. Added by fixes.inc |
Style 8 | ![]() | Based on SA location names. Added by fixes.inc |
Style 9 | ![]() | Based on SA radio station names (once selected). Added by fixes.inc |
Style 10 | ![]() | Based on SA radio station names (while switching). Added by fixes.inc |
Style 11 | ![]() | Based on SA positive money. Added by fixes.inc |
Style 12 | ![]() | Based on SA negative money. Added by fixes.inc |
Style 13 | ![]() | Based on SA stunt bonuses. Added by fixes.inc |
Style 14 | ![]() | Based on SA in-game clock. Added by fixes.inc |
Style 15 | ![]() | Based on SA notification popup. Added by fixes.inc |