SetSuperSafeChat (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Nominate
Duplicate of this page -- http://wiki.roblox.com/index.php/SetSuperSafeChat_%28Method%29
>Sncplay42
Probably better to just make it a redirect
Line 1: Line 1:
{{CatUp|Functions}}
#redirect [[SetSuperSafeChat (Method)]]
{{delete}}
 
{|
|<onlyinclude>{{Function|
name                  = SetSuperSafeChat
|arguments            = [[Bool]] ''enable''
|returns              =
|description          = Set to true to disable regular chat, set to false to enable.
|object              = [[RBX.lua.Player (Object)|Player]]
|}}
</onlyinclude>
|}
 
'''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,
<pre>
Game.Players.Player:SetSuperSafeChat( false ) -- enable normal chat
</pre>

Revision as of 20:03, 27 May 2011