RAGE.Chat.SafeMode: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
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