RAGE.Chat.SafeMode: Difference between revisions

From RAGE Multiplayer Wiki
Line 2: Line 2:


==Syntax==
==Syntax==
<pre>Bool RAGE.Chat.SafeMode</pre>
<pre>Bool RAGE.Chat.SafeMode;</pre>


=== Required Arguments ===
=== Required Arguments ===

Revision as of 11: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