Chat.safeMode: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
Line 14: Line 14:


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

Revision as of 12:54, 29 December 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