IsChatVisible
Syntax
bool isChatVisible ( )
Returns
Returns true if the chat is visible, false otherwise.
Example
This example does the same thing as showchat command does.
addCommandHandler("sc",
function ()
showChat(not isChatVisible())
end)
This function checks if player's chat is visible.
bool isChatVisible ( )
Returns true if the chat is visible, false otherwise.
This example does the same thing as showchat command does.
addCommandHandler("sc",
function ()
showChat(not isChatVisible())
end)