RAGE.Chat.SafeMode: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Enables HTML filter to prevent chat XSS. ==Syntax== <pre>Bool RAGE.Chat.SafeMode;</pre> === Required Arguments === *'''toggle:''' Bool toggle ==Example== {{CSharpContainer|...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
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;
}


See also