<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Controls%3A%3AapplyDisableControlActionBatch</id>
	<title>Controls::applyDisableControlActionBatch - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Controls%3A%3AapplyDisableControlActionBatch"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Controls::applyDisableControlActionBatch&amp;action=history"/>
	<updated>2026-06-05T00:48:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Controls::applyDisableControlActionBatch&amp;diff=25452&amp;oldid=prev</id>
		<title>Shr0x: /* See also */</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Controls::applyDisableControlActionBatch&amp;diff=25452&amp;oldid=prev"/>
		<updated>2024-05-14T10:59:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;See also&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:59, 14 May 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l35&quot;&gt;Line 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==See also==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==See also==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Controls_s_function_c&lt;/del&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Controls_functions_c&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Clientside API]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Clientside API]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:TODO: Example]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key rmp_wiki:diff::1.12:old-21818:rev-25452 --&gt;
&lt;/table&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Controls::applyDisableControlActionBatch&amp;diff=21818&amp;oldid=prev</id>
		<title>Shr0x: Created page with &quot;{{ClientsideJsFunction}} {{JSContainer|  Applies disabled control given in https://wiki.rage.mp/index.php?title=Controls::setDisableControlActionBatch setDisableControlActionBatch  === Return Value === *&#039;&#039;&#039;void&#039;&#039;&#039; {{RageType|void}}  ==Syntax== &lt;pre&gt; mp.game.controls.applyDisableControlActionBatch(); &lt;/pre&gt;  ==Example== {{ClientsideCode| &lt;syntaxhighlight lang=&quot;javascript&quot;&gt; const disablePlayerControls = [     0, 30, 31, 21, 36, 22, 44, 38, 71, 72, 59, 60, 42, 43, 85, 8...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Controls::applyDisableControlActionBatch&amp;diff=21818&amp;oldid=prev"/>
		<updated>2024-04-25T04:13:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  Applies disabled control given in &lt;a href=&quot;/w/index.php?title=Https://wiki.rage.mp/index.php%3Ftitle%3DControls::setDisableControlActionBatch_setDisableControlActionBatch&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Https://wiki.rage.mp/index.php?title=Controls::setDisableControlActionBatch setDisableControlActionBatch (page does not exist)&quot;&gt;https://wiki.rage.mp/index.php?title=Controls::setDisableControlActionBatch setDisableControlActionBatch&lt;/a&gt;  === Return Value === *&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039; {{RageType|void}}  ==Syntax== &amp;lt;pre&amp;gt; mp.game.controls.applyDisableControlActionBatch(); &amp;lt;/pre&amp;gt;  ==Example== {{ClientsideCode| &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; const disablePlayerControls = [     0, 30, 31, 21, 36, 22, 44, 38, 71, 72, 59, 60, 42, 43, 85, 8...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
Applies disabled control given in [[https://wiki.rage.mp/index.php?title=Controls::setDisableControlActionBatch setDisableControlActionBatch]]&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039; {{RageType|void}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.game.controls.applyDisableControlActionBatch();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const disablePlayerControls = [&lt;br /&gt;
    0, 30, 31, 21, 36, 22, 44, 38, 71, 72, 59, 60, 42, 43, 85, 86, 75, 15, 14,&lt;br /&gt;
    228, 37, 229, 348, 156, 199, 204, 172, 173, 37, 199, 44, 178, 244, 220,&lt;br /&gt;
    221, 218, 219, 16, 17, 200, 202, 322&lt;br /&gt;
];&lt;br /&gt;
mp.game.controls.setDisableControlActionBatch(false, disablePlayerControls);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mp.events.add(&amp;#039;render&amp;#039;, () =&amp;gt; {&lt;br /&gt;
    mp.game.controls.applyDisableControlActionBatch()&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
//re-enable player controls after 5 seconds&lt;br /&gt;
setTimeout(() =&amp;gt; {&lt;br /&gt;
    mp.game.controls.setDisableControlActionBatch(false, []);&lt;br /&gt;
}, 5000);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Controls_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
</feed>