Chat.safeMode

From RAGE Multiplayer Wiki
Revision as of 15:46, 21 November 2017 by Silverdark (talk | contribs) (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"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Template:Chat s function c