isChatVisible | Multi Theft Auto: Wiki Skip to content

isChatVisible

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function checks if player's chat is visible.

Syntax

bool isChatVisible ( )

Returns

  • bool: value

Returns true if the chat is visible, false otherwise.

Code Examples

shared

This example does the same thing asshowchatcommand does.

addCommandHandler("sc",
function ()
showChat(not isChatVisible())
end)