Chat.safeMode

From RAGE Multiplayer Wiki
Revision as of 11:35, 2 November 2024 by Shr0x (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

JavaScript Syntax

This property toggles the chat safe mode. When the safe mode is deactivated (safe mode false), HTML can be used in the chat.

Syntax

mp.gui.chat.safeMode = toggle;

Example

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


See also