Chat.safeMode: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This property toggles the chat safe mode. When the safe mode is deactivated (safe mode false) then you can use HTML in the chat. ==Syntax== <syntaxhighlight lang="javascript"...")
 
No edit summary
Line 14: Line 14:


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

Revision as of 15:53, 21 November 2017

This property toggles the chat safe mode. When the safe mode is deactivated (safe mode false) then you can use HTML in the chat.

Syntax

mp.gui.chat.safeMode = state;

Example

Client-Side
mp.gui.chat.safeMode = true; // Default - Activates the safe mode
mp.gui.chat.safeMode = false; // Deactivates the safe mode (HTML is allowed)

See also