IsChatInputBlocked
Jump to navigation
Jump to search
This function checks if the player's chat input is blocked.
Syntax
bool isChatInputBlocked ( )
Returns
Returns true if the chat input is blocked, false otherwise.
Example
This example shows how to block and unblock the chat input:
function toggleInputBlocked () local visible = isChatVisible () -- check if the chat is visible showChat (visible, not isChatInputBlocked ()) -- toggle inputBlocked end addCommandHandler("blockchat", toggleInputBlocked)
See Also
- clearDebugBox
- isChatInputBlocked
- isChatVisible
- Shared
- clearChatBox
- outputChatBox
- outputConsole
- outputDebugString
- showChat