RAGE.Chat.SafeMode

From RAGE Multiplayer Wiki
Revision as of 11:31, 16 January 2019 by Frosty (talk | contribs) (Created page with "Enables HTML filter to prevent chat XSS. ==Syntax== <pre>Bool RAGE.Chat.SafeMode;</pre> === Required Arguments === *'''toggle:''' Bool toggle ==Example== {{CSharpContainer|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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