<?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%2FSetWheelStatus</id>
	<title>ScriptingExamples/SetWheelStatus - 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%2FSetWheelStatus"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/SetWheelStatus&amp;action=history"/>
	<updated>2026-06-14T04:57:54Z</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/SetWheelStatus&amp;diff=3879&amp;oldid=prev</id>
		<title>Mex: Created page with &quot;{{DISPLAYTITLE:Set Wheel Status}} == Description == This code allows anyone who types the command &quot;/wheel wheel status&quot; whilst in a vehicle, to have the specified status appli...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/SetWheelStatus&amp;diff=3879&amp;oldid=prev"/>
		<updated>2018-08-14T19:43:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{DISPLAYTITLE:Set Wheel Status}} == Description == This code allows anyone who types the command &amp;quot;/wheel wheel status&amp;quot; whilst in a vehicle, to have the specified status appli...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:Set Wheel Status}}&lt;br /&gt;
== Description ==&lt;br /&gt;
This code allows anyone who types the command &amp;quot;/wheel wheel status&amp;quot; whilst in a vehicle, to have the specified status applied to the specified wheel.&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;#039;wheel&amp;#039;, function(cmd,args)&lt;br /&gt;
	args = split(args)&lt;br /&gt;
	local wheel = tonumber(args[1]) or 0&lt;br /&gt;
	local status = tonumber(args[2]) or 3&lt;br /&gt;
	localPlayer.vehicle:setWheelStatus(wheel, status)&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
{{ScriptingExamples/UtilityCode/Lua/split}}}}&lt;/div&gt;</summary>
		<author><name>Mex</name></author>
	</entry>
</feed>