<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=OnVehicleDestroyed</id>
	<title>OnVehicleDestroyed - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=OnVehicleDestroyed"/>
	<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=OnVehicleDestroyed&amp;action=history"/>
	<updated>2026-04-30T00:53:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://dev.playonset.com/index.php?title=OnVehicleDestroyed&amp;diff=4162&amp;oldid=prev</id>
		<title>BlueMountains: Created page with &quot;{{Info|Event|Server|1.2.2}}  {{FuncDescription|Event called when a vehicle instance was destroyed through DestroyVehicle.}}  {{FuncSyntax|OnVehicleDestroyed(vehicle)}}  {{...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=OnVehicleDestroyed&amp;diff=4162&amp;oldid=prev"/>
		<updated>2020-08-31T20:36:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Info|Event|Server|1.2.2}}  {{FuncDescription|Event called when a vehicle instance was destroyed through &lt;a href=&quot;/wiki/DestroyVehicle&quot; title=&quot;DestroyVehicle&quot;&gt;DestroyVehicle&lt;/a&gt;.}}  {{FuncSyntax|OnVehicleDestroyed(vehicle)}}  {{...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Info|Event|Server|1.2.2}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Event called when a vehicle instance was destroyed through [[DestroyVehicle]].}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|OnVehicleDestroyed(vehicle)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|vehicle|The vehicle which was destroyed.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
function OnVehicleDestroyed(vehicle)&lt;br /&gt;
    print(&amp;quot;Vehicle &amp;quot;..vehicle..&amp;quot; was destroyed&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
AddEvent(&amp;quot;OnVehicleDestroyed&amp;quot;, OnVehicleDestroyed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{VehicleServerEvents}}&lt;/div&gt;</summary>
		<author><name>BlueMountains</name></author>
	</entry>
</feed>