<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ScriptingExamples%2FToggleTyresBurst</id>
	<title>ScriptingExamples/ToggleTyresBurst - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ScriptingExamples%2FToggleTyresBurst"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/ToggleTyresBurst&amp;action=history"/>
	<updated>2026-04-28T22:38:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/ToggleTyresBurst&amp;diff=3851&amp;oldid=prev</id>
		<title>Mex at 14:48, 14 August 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/ToggleTyresBurst&amp;diff=3851&amp;oldid=prev"/>
		<updated>2018-08-14T14:48:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:Toggle Tyres Burst}}&lt;br /&gt;
== Description ==&lt;br /&gt;
This code allows anyone who types the command /tyres whilst in a vehicle, to have all their vehicle&amp;#039;s tyres toggled between burst and inflated.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Lua, Client-Side, GTAC versions 1.0.72 and newer:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{LuaCode|1=addCommandHandler(&amp;quot;tyres&amp;quot;,function(commandName,arguments)&lt;br /&gt;
	if not localPlayer.vehicle then return end&lt;br /&gt;
	local popped = localPlayer.vehicle:getWheelStatus(0) ~= 1&lt;br /&gt;
	local status = popped and 1 or 3&lt;br /&gt;
	for wheel=0,3,1 do&lt;br /&gt;
		localPlayer.vehicle:setWheelStatus(wheel, status)&lt;br /&gt;
	end&lt;br /&gt;
end)}}&lt;/div&gt;</summary>
		<author><name>Mex</name></author>
	</entry>
</feed>