IsChatVisible

From Multi Theft Auto: Wiki
Revision as of 21:14, 21 September 2021 by Myonlake (talk | contribs)
Jump to navigation Jump to search

20898

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)

See Also