<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pdewacht</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pdewacht"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Pdewacht"/>
	<updated>2026-05-10T11:50:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsChatInputBlocked&amp;diff=72422</id>
		<title>IsChatInputBlocked</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsChatInputBlocked&amp;diff=72422"/>
		<updated>2021-09-22T17:59:17Z</updated>

		<summary type="html">&lt;p&gt;Pdewacht: Created page with &amp;quot;{{Client function}} __NOTOC__ This function checks if the player's chat input is blocked.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool isChatInputBlocked ( ) &amp;lt;/syntaxhighlig...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function checks if the player's chat input is blocked.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isChatInputBlocked ( )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the chat input is blocked, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example adds a ''blockchat'' command that allows blocking and unblocking of the chat input.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function toggleInputBlocked()&lt;br /&gt;
    local visible = isChatVisible() -- check if the chat is visible&lt;br /&gt;
    showChat(visible, not isChatInputBlocked()) -- toggle inputBlocked&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;blockchat&amp;quot;, toggleInputBlocked)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_output_functions}}&lt;/div&gt;</summary>
		<author><name>Pdewacht</name></author>
	</entry>
</feed>