IsChatVisible: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Manual revert
 
(2 intermediate revisions by the same user not shown)
(No difference)

Latest revision as of 08:18, 22 September 2021

This function checks if player's chat is visible.

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