Chat.colors: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This property toggles the chat colors. If disabled you'll find the color codes. ==Syntax== <syntaxhighlight lang="javascript">mp.gui.chat.colors = state;</syntaxhighlight> =...")
 
(updated template)
Line 18: Line 18:


==See also==
==See also==
{{Chat_functions}}
{{Gui_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]

Revision as of 03:08, 13 June 2018

This property toggles the chat colors. If disabled you'll find the color codes.

Syntax

mp.gui.chat.colors = state;

Required Arguments:

  • state: Boolean

Example

Client-Side
mp.gui.chat.colors = true; // Activates the colors.
mp.gui.chat.colors = false; // Default - Disables the colors (Colors isn't allowed)

See also