Chat.safeMode: Difference between revisions
Silverdark (talk | contribs) No edit summary |
m (→See also) |
||
| Line 14: | Line 14: | ||
==See also== | ==See also== | ||
{{ | {{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)