RAGE.Chat.SafeMode: Difference between revisions
(→Syntax) |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
<pre>Bool RAGE.Chat.SafeMode</pre> | <pre>Bool RAGE.Chat.SafeMode;</pre> | ||
=== Required Arguments === | === Required Arguments === | ||
| Line 20: | Line 20: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
==See also== | ==See also== | ||
{{Gui_definition_c}} | {{Gui_definition_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
Latest revision as of 12:35, 16 January 2019
Enables HTML filter to prevent chat XSS.
Syntax
Bool RAGE.Chat.SafeMode;
Required Arguments
- toggle: Bool toggle
Example
C# Syntax
Parameters
- toggle: Bool toggle
Example
public void safeModeChat(bool toggle)
{
RAGE.Chat.SafeMode = toggle;
}