<?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=Vehicle%3A%3AsetGeneratesEngineShockingEvents</id>
	<title>Vehicle::setGeneratesEngineShockingEvents - 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=Vehicle%3A%3AsetGeneratesEngineShockingEvents"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Vehicle::setGeneratesEngineShockingEvents&amp;action=history"/>
	<updated>2026-06-04T13:00:29Z</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=Vehicle::setGeneratesEngineShockingEvents&amp;diff=21767&amp;oldid=prev</id>
		<title>Shr0x: Created page with &quot;{{JSContainer|  === Required Arguments === *&#039;&#039;&#039;handle:&#039;&#039;&#039; Vehicle handle *&#039;&#039;&#039;enable:&#039;&#039;&#039; Boolean   ===Return value=== *&#039;&#039;&#039;void&#039;&#039;&#039;  ==Syntax== &lt;syntaxhighlight lang=&quot;javascript&quot;&gt; mp.game.vehicle.setGeneratesEngineShockingEvents(handle, enable); &lt;/syntaxhighlight&gt;  ==Example== &lt;syntaxhighlight lang=&quot;javascript&quot;&gt; const vehicle = mp.vehicles.atRemoteId(0); //get vehicle with remote id 0 if (!vehicle || !mp.vehicles.exists(vehicle)) return; //if the vehicle don&#039;t exist we retu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Vehicle::setGeneratesEngineShockingEvents&amp;diff=21767&amp;oldid=prev"/>
		<updated>2024-04-22T17:20:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{JSContainer|  === Required Arguments === *&amp;#039;&amp;#039;&amp;#039;handle:&amp;#039;&amp;#039;&amp;#039; Vehicle handle *&amp;#039;&amp;#039;&amp;#039;enable:&amp;#039;&amp;#039;&amp;#039; Boolean   ===Return value=== *&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039;  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.vehicle.setGeneratesEngineShockingEvents(handle, enable); &amp;lt;/syntaxhighlight&amp;gt;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; const vehicle = mp.vehicles.atRemoteId(0); //get vehicle with remote id 0 if (!vehicle || !mp.vehicles.exists(vehicle)) return; //if the vehicle don&amp;#039;t exist we retu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;handle:&amp;#039;&amp;#039;&amp;#039; Vehicle handle&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;enable:&amp;#039;&amp;#039;&amp;#039; Boolean&lt;br /&gt;
 &lt;br /&gt;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.game.vehicle.setGeneratesEngineShockingEvents(handle, enable);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const vehicle = mp.vehicles.atRemoteId(0); //get vehicle with remote id 0&lt;br /&gt;
if (!vehicle || !mp.vehicles.exists(vehicle)) return; //if the vehicle don&amp;#039;t exist we return here&lt;br /&gt;
&lt;br /&gt;
//Vehicle is valid, processing the code:&lt;br /&gt;
mp.game.vehicle.setGeneratesEngineShockingEvents(vehicle.handle, true);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Vehicle_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>