Chat.safeMode: Difference between revisions
m (→See also) |
m (Replaced HTML with template) |
||
| Line 3: | Line 3: | ||
==Syntax== | ==Syntax== | ||
< | <pre>Boolean mp.gui.chat.safeMode</pre> | ||
==Example== | ==Example== | ||
{{ClientsideCode| | |||
<pre> | |||
< | |||
mp.gui.chat.safeMode = true; // Default - Activates the safe mode | mp.gui.chat.safeMode = true; // Default - Activates the safe mode | ||
mp.gui.chat.safeMode = false; // Deactivates the safe mode (HTML is allowed) | mp.gui.chat.safeMode = false; // Deactivates the safe mode (HTML is allowed) | ||
</ | </pre> | ||
}} | |||
==See also== | ==See also== | ||
{{Gui_definition_c}} | {{Gui_definition_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
Revision as of 13:36, 26 October 2018
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
Boolean mp.gui.chat.safeMode
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)