SetSuperSafeChat (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>GoldenUrg
recreated? useful in debugging
>Sncplay42
Probably better to just make it a redirect
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{CatUp|Functions}}
#redirect [[SetSuperSafeChat (Method)]]
 
{|
|<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>

Latest revision as of 20:03, 27 May 2011