IsChatVisible: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 1: Line 1:
{{Client function}}
{{Client function}}
__NOTOC__
__NOTOC__
This function checks if player's chat is visible.
{{Added feature/item|3.0159|1.5.9|1.5.8|20898|This function checks if player's chat is visible.}}


==Syntax==  
==Syntax==  

Revision as of 21:14, 21 September 2021

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