<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sam%40ke</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sam%40ke"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Sam@ke"/>
	<updated>2026-04-07T01:27:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientVehicleNitroStateChange&amp;diff=35590</id>
		<title>OnClientVehicleNitroStateChange</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientVehicleNitroStateChange&amp;diff=35590"/>
		<updated>2013-04-26T22:03:08Z</updated>

		<summary type="html">&lt;p&gt;Sam@ke: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This event gets triggered when nitro state is changing.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool state&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''state:''' current state of nitro&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the player vehicle.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example is showing short chat message on nitro state changing.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function nitroState(state)    &lt;br /&gt;
    if (state == true) then&lt;br /&gt;
        outputChatBox(&amp;quot;You starts using nitro...&amp;quot;, 150, 255, 150, true)&lt;br /&gt;
    elseif (state == false) then&lt;br /&gt;
        outputChatBox(&amp;quot;Nitro fuel runs empty...&amp;quot;, 255, 150, 150, true)&lt;br /&gt;
    end&lt;br /&gt;
end   &lt;br /&gt;
addEventHandler(&amp;quot;onClientVehicleNitroStateChange&amp;quot;, getRootElement(), nitroState)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client vehicle events===&lt;br /&gt;
{{Client_vehicle_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Sam@ke</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientVehicleNitroStateChange&amp;diff=35589</id>
		<title>OnClientVehicleNitroStateChange</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientVehicleNitroStateChange&amp;diff=35589"/>
		<updated>2013-04-26T22:02:33Z</updated>

		<summary type="html">&lt;p&gt;Sam@ke: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This event gets triggered when nitro state is changing.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool state&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''state:''' current state of nitro&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the player vehicle.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example get short chat message on nitro state changing.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function nitroState(state)    &lt;br /&gt;
    if (state == true) then&lt;br /&gt;
        outputChatBox(&amp;quot;You starts using nitro...&amp;quot;, 150, 255, 150, true)&lt;br /&gt;
    elseif (state == false) then&lt;br /&gt;
        outputChatBox(&amp;quot;Nitro fuel runs empty...&amp;quot;, 255, 150, 150, true)&lt;br /&gt;
    end&lt;br /&gt;
end   &lt;br /&gt;
addEventHandler(&amp;quot;onClientVehicleNitroStateChange&amp;quot;, getRootElement(), nitroState)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client vehicle events===&lt;br /&gt;
{{Client_vehicle_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Sam@ke</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientVehicleNitroStateChange&amp;diff=35588</id>
		<title>OnClientVehicleNitroStateChange</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientVehicleNitroStateChange&amp;diff=35588"/>
		<updated>2013-04-26T21:59:43Z</updated>

		<summary type="html">&lt;p&gt;Sam@ke: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This event gets triggered when nitro state is changing.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool state&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''state:''' current state of nitro&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the player vehicle.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example get short chat message on nitro state changing.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function nitroState(state)    &lt;br /&gt;
    if (state == true) then&lt;br /&gt;
        outputChatBox(&amp;quot;You starts using nitro...&amp;quot;, 150, 255, 150, true)&lt;br /&gt;
    elseif (state == false) then&lt;br /&gt;
        outputChatBox(&amp;quot;Nitro fuel runs empty...&amp;quot;, 255, 150, 150, true)&lt;br /&gt;
    end&lt;br /&gt;
end   &lt;br /&gt;
addEventHandler(&amp;quot;onClientVehicleNitroStateChange&amp;quot;, getRootElement(), nitroState)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client vehicle events===&lt;br /&gt;
{{Client_vehicle_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Sam@ke</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientVehicleNitroStateChange&amp;diff=35587</id>
		<title>OnClientVehicleNitroStateChange</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientVehicleNitroStateChange&amp;diff=35587"/>
		<updated>2013-04-26T21:59:00Z</updated>

		<summary type="html">&lt;p&gt;Sam@ke: Created page with &amp;quot;{{Client event}} __NOTOC__ This event gets triggered when nitro state is changing.  ==Parameters== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool state &amp;lt;/syntaxhighlight&amp;gt; *'''state:''' current state of nitro  ==Source==...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This event gets triggered when nitro state is changing.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool state&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''state:''' current state of nitro&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the player vehicle.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example get short chat message on nitro state changing.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function nitroState(state)    &lt;br /&gt;
    if (state == true) then&lt;br /&gt;
        outputChatBox(&amp;quot;You starts using nitro...&amp;quot;, 150, 255, 150, true)&lt;br /&gt;
    elseif (state == false) then&lt;br /&gt;
        outputChatBox(&amp;quot;Nitro fuel gots empty...&amp;quot;, 255, 150, 150, true)&lt;br /&gt;
    end&lt;br /&gt;
end   &lt;br /&gt;
addEventHandler(&amp;quot;onClientVehicleNitroStateChange&amp;quot;, getRootElement(), nitroState)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client vehicle events===&lt;br /&gt;
{{Client_vehicle_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Sam@ke</name></author>
	</entry>
</feed>