SetSuperSafeChat (Function)

From Legacy Roblox Wiki
Revision as of 04:36, 23 June 2010 by >GoldenUrg (recreated? useful in debugging)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
SetSuperSafeChat( Bool enable )
Returns
Description: Set to true to disable regular chat, set to false to enable.

This is a Locked function, which means it cannot be used online or in normal scripts. However, it has a particularly useful function in testing.

In Roblox Studio, Test->Start Server/Start Player mode. This function can be called from Server command-line to change the Player chat mode (allowing testing of either SuperSafeChat or normal chat).

In command-line only,

Game.Players.Player:SetSuperSafeChat( false ) -- enable normal chat