<?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=Devo</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=Devo"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Devo"/>
	<updated>2026-05-27T16:00:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HandlingGetDragCoefficiency&amp;diff=42745</id>
		<title>HandlingGetDragCoefficiency</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HandlingGetDragCoefficiency&amp;diff=42745"/>
		<updated>2014-10-29T15:12:35Z</updated>

		<summary type="html">&lt;p&gt;Devo: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
Returns the drag coefficient (amount of air resistance) of a handling element or a vehicle ID.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float handlingGetDragCoefficiency ( handling theHandling )&lt;br /&gt;
float handlingGetDragCoefficiency ( int vehicleID )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theHandling:''' the handling you wish to get the drag coefficient of, ''or''&lt;br /&gt;
*'''vehicleID:''' the vehicle ID you wish to get the drag coefficient of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If you specified a handling element, returns its drag coefficient if one was set, or ''nil'' otherwise. If you specified a (valid) vehicle ID, returns the drag coefficient that currently applies to vehicles of that ID. Returns ''false'' in case of failure.&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 getDragCoefficiency ( player, command )&lt;br /&gt;
local vehicle = getPedOccupiedVehicle(player)&lt;br /&gt;
    if vehicle then&lt;br /&gt;
      str = handlingGetDragCoefficiency(getElementModel(vehicle))&lt;br /&gt;
      outputChatBox(&amp;quot;Your vehicle's handling drag coefficiency is &amp;quot;..str,player,0,255,255)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;dragcoe&amp;quot;, getDragCoefficiency )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Handling_functions}}&lt;/div&gt;</summary>
		<author><name>Devo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HandlingGetTurnMass&amp;diff=42744</id>
		<title>HandlingGetTurnMass</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HandlingGetTurnMass&amp;diff=42744"/>
		<updated>2014-10-29T15:11:20Z</updated>

		<summary type="html">&lt;p&gt;Devo: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
Returns the turn mass of a handling element or vehicle ID.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float handlingGetTurnMass ( handling theHandling )&lt;br /&gt;
float handlingGetTurnMass ( int vehicleID )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theHandling:''' the handling of which you want to get the turn mass, ''or''&lt;br /&gt;
*'''vehicleID:''' the vehicle ID of which you want to get the turn mass.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If you specified a handling element, returns its turn mass if one is set, or ''nil'' otherwise. If you specified a vehicle ID, returns the turn mass that currently applies to vehicles of that ID. Returns ''false'' in case of failure.&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 getTurnMass ( player, command )&lt;br /&gt;
local vehicle = getPedOccupiedVehicle(player)&lt;br /&gt;
    if vehicle then&lt;br /&gt;
      str = handlingGetTurnMass(getElementModel(vehicle))&lt;br /&gt;
      outputChatBox(&amp;quot;Your vehicle's handling turn mass is &amp;quot;..str,player,0,255,255)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;turnmass&amp;quot;, getTurnMass )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Handling_functions}}&lt;/div&gt;</summary>
		<author><name>Devo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HandlingGetMass&amp;diff=42743</id>
		<title>HandlingGetMass</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HandlingGetMass&amp;diff=42743"/>
		<updated>2014-10-29T15:10:24Z</updated>

		<summary type="html">&lt;p&gt;Devo: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
Returns the mass of a handling element or vehicle ID.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float handlingGetMass ( handling theHandling )&lt;br /&gt;
float handlingGetMass ( int vehicleID )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theHandling:''' the handling of which you want to get the mass, ''or''&lt;br /&gt;
*'''vehicleID:''' the vehicle ID of which you want to get the mass.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If you specified a handling element, returns its mass if one is set, or ''nil'' otherwise. If you specified a vehicle ID, returns the mass that currently applies to vehicles of that ID. Returns ''false'' in case of failure.&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 getMass ( player, command )&lt;br /&gt;
local vehicle = getPedOccupiedVehicle(player)&lt;br /&gt;
    if vehicle then&lt;br /&gt;
      str = handlingGetMass(getElementModel(vehicle))&lt;br /&gt;
      outputChatBox(&amp;quot;Your vehicle's handling mass is &amp;quot;..str,player,0,255,255)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;getmass&amp;quot;, getMass )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Handling_functions}}&lt;/div&gt;</summary>
		<author><name>Devo</name></author>
	</entry>
</feed>