<?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=Saint+Laurent</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=Saint+Laurent"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Saint_Laurent"/>
	<updated>2026-04-29T17:46:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetObjectScale&amp;diff=68483</id>
		<title>GetObjectScale</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetObjectScale&amp;diff=68483"/>
		<updated>2021-02-02T14:19:03Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function returns the visible size of an object.&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, float, float getObjectScale ( object theObject )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[Object]]:getScale|scale|setObjectScale}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theObject''': the [[object]] you wish to return the scale of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
* Three [[float]] values indicating the scale of the object on the x, y, and z axis if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client-only Example&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example adds a command named ''getscale'' which creates an object and prints out the scale of it.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;getscale&amp;quot;,&lt;br /&gt;
    function()&lt;br /&gt;
	local theObject = createObject(1337, getElementPosition(localPlayer))&lt;br /&gt;
	local x, y, z = getObjectScale(theObject)&lt;br /&gt;
	outputChatBox(&amp;quot;Object scale: X: &amp;quot;..x..&amp;quot;, Y: &amp;quot;..y..&amp;quot; Z: &amp;quot;..z..&amp;quot;&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
)&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;
{{Object_functions}}&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68482</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68482"/>
		<updated>2021-02-02T14:11:29Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Creates an [[object]] [[element]] at a given position and rotation.&lt;br /&gt;
{{Note|Dynamic objects do not automatically have physics applied to them. Use [[setElementVelocity]](object, 0, 0, 0) to fix this.}}&lt;br /&gt;
{{Note|Creating objects server-side can help for syncing the objects with all clients (for example, if you create a glass object client-side, it will break only for the client that broke the glass. Server-side, it will broke for all clients.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;object createObject ( int modelId, float x, float y, float z, [ float rx, float ry, float rz, bool isLowLOD = false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[Object]]||}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''modelId:''' A whole integer specifying the GTA:SA object model ID.&lt;br /&gt;
*'''x:''' A floating point number representing the X coordinate on the map.&lt;br /&gt;
*'''y:''' A floating point number representing the Y coordinate on the map.&lt;br /&gt;
*'''z:''' A floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''rx:''' A floating point number representing the rotation about the X axis in degrees.&lt;br /&gt;
*'''ry:''' A floating point number representing the rotation about the Y axis in degrees.&lt;br /&gt;
*'''rz:''' A floating point number representing the rotation about the Z axis in degrees.&lt;br /&gt;
{{New items|3.0120|1.2|&lt;br /&gt;
*'''isLowLOD:''' A bool value specifying if the object will be low LOD. A low LOD object has no collision and a longer draw distance.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
* Returns the [[object]] element if the creation was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 1&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object when the resource starts:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function loadMapObjects()&lt;br /&gt;
   -- create an object at a specified position with a specified rotation&lt;br /&gt;
   createObject(1337, 5540.6654, 1020.55122, 1240.545, 90, 0, 0)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onResourceStart&amp;quot;, resourceRoot, loadMapObjects)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 2&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object near the player who write /createObject in the chat:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- this function is called whenever someone types 'createObject' in the console:&lt;br /&gt;
function createObjectCommand(thePlayer, commandName)&lt;br /&gt;
   if (thePlayer) then&lt;br /&gt;
      local x, y, z = getElementPosition(thePlayer)&lt;br /&gt;
      -- create a object next to the player:&lt;br /&gt;
      local theObject = createObject(980, x + 2, y + 2, z, 0, 0, 0)&lt;br /&gt;
      if (theObject) then -- check if the object was created successfully&lt;br /&gt;
         outputChatBox(&amp;quot;Object created successfully.&amp;quot;, thePlayer)&lt;br /&gt;
      else&lt;br /&gt;
         outputChatBox(&amp;quot;Failed to create the object.&amp;quot;, thePlayer)&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;createobject&amp;quot;, createObjectCommand)&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;
{{Object functions}}&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68481</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68481"/>
		<updated>2021-02-02T14:08:29Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Creates an [[object]] [[element]] at a given position and rotation.&lt;br /&gt;
{{Note|Dynamic objects do not automatically have physics applied to them. Use setElementVelocity(object, 0, 0, 0) to fix this.}}&lt;br /&gt;
{{Note|Creating objects server-side can help for syncing the objects with all clients (for example, if you create a glass object client-side, it will break only for the client that broke the glass. Server-side, it will broke for all clients.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;object createObject ( int modelId, float x, float y, float z, [ float rx, float ry, float rz, bool isLowLOD = false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[Object]]||}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''modelId:''' A whole integer specifying the GTA:SA object model ID.&lt;br /&gt;
*'''x:''' A floating point number representing the X coordinate on the map.&lt;br /&gt;
*'''y:''' A floating point number representing the Y coordinate on the map.&lt;br /&gt;
*'''z:''' A floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''rx:''' A floating point number representing the rotation about the X axis in degrees.&lt;br /&gt;
*'''ry:''' A floating point number representing the rotation about the Y axis in degrees.&lt;br /&gt;
*'''rz:''' A floating point number representing the rotation about the Z axis in degrees.&lt;br /&gt;
{{New items|3.0120|1.2|&lt;br /&gt;
*'''isLowLOD:''' A bool value specifying if the object will be low LOD. A low LOD object has no collision and a longer draw distance.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
* Returns the [[object]] element if the creation was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 1&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object when the resource starts:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function loadMapObjects()&lt;br /&gt;
   -- create an object at a specified position with a specified rotation&lt;br /&gt;
   createObject(1337, 5540.6654, 1020.55122, 1240.545, 90, 0, 0)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onResourceStart&amp;quot;, resourceRoot, loadMapObjects)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 2&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object near the player who write /createObject in the chat:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- this function is called whenever someone types 'createObject' in the console:&lt;br /&gt;
function createObjectCommand(thePlayer, commandName)&lt;br /&gt;
   if (thePlayer) then&lt;br /&gt;
      local x, y, z = getElementPosition(thePlayer)&lt;br /&gt;
      -- create a object next to the player:&lt;br /&gt;
      local theObject = createObject(980, x + 2, y + 2, z, 0, 0, 0)&lt;br /&gt;
      if (theObject) then -- check if the object was created successfully&lt;br /&gt;
         outputChatBox(&amp;quot;Object created successfully.&amp;quot;, thePlayer)&lt;br /&gt;
      else&lt;br /&gt;
         outputChatBox(&amp;quot;Failed to create the object.&amp;quot;, thePlayer)&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;createobject&amp;quot;, createObjectCommand)&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;
{{Object functions}}&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68480</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68480"/>
		<updated>2021-02-02T14:04:40Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Creates an object in the GTA world.&lt;br /&gt;
{{Note|Dynamic objects do not automatically have physics applied to them. Use setElementVelocity(object, 0, 0, 0) to fix this.}}&lt;br /&gt;
{{Note|Creating objects server-side can help for syncing the objects with all clients (for example, if you create a glass object client-side, it will break only for the client that broke the glass. Server-side, it will broke for all clients.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;object createObject ( int modelId, float x, float y, float z, [ float rx, float ry, float rz, bool isLowLOD = false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[Object]]||}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''modelId:''' A whole integer specifying the GTA:SA object model ID.&lt;br /&gt;
*'''x:''' A floating point number representing the X coordinate on the map.&lt;br /&gt;
*'''y:''' A floating point number representing the Y coordinate on the map.&lt;br /&gt;
*'''z:''' A floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''rx:''' A floating point number representing the rotation about the X axis in degrees.&lt;br /&gt;
*'''ry:''' A floating point number representing the rotation about the Y axis in degrees.&lt;br /&gt;
*'''rz:''' A floating point number representing the rotation about the Z axis in degrees.&lt;br /&gt;
{{New items|3.0120|1.2|&lt;br /&gt;
*'''isLowLOD:''' A bool value specifying if the object will be low LOD. A low LOD object has no collision and a longer draw distance.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
* Returns the [[object]] element if the creation was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 1&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object when the resource starts:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function loadMapObjects()&lt;br /&gt;
   -- create an object at a specified position with a specified rotation&lt;br /&gt;
   createObject(1337, 5540.6654, 1020.55122, 1240.545, 90, 0, 0)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onResourceStart&amp;quot;, resourceRoot, loadMapObjects)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 2&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object near the player who write /createObject in the chat:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- this function is called whenever someone types 'createObject' in the console:&lt;br /&gt;
function createObjectCommand(thePlayer, commandName)&lt;br /&gt;
   if (thePlayer) then&lt;br /&gt;
      local x, y, z = getElementPosition(thePlayer)&lt;br /&gt;
      -- create a object next to the player:&lt;br /&gt;
      local theObject = createObject(980, x + 2, y + 2, z, 0, 0, 0)&lt;br /&gt;
      if (theObject) then -- check if the object was created successfully&lt;br /&gt;
         outputChatBox(&amp;quot;Object created successfully.&amp;quot;, thePlayer)&lt;br /&gt;
      else&lt;br /&gt;
         outputChatBox(&amp;quot;Failed to create the object.&amp;quot;, thePlayer)&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;createObject&amp;quot;, createObjectCommand)&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;
{{Object functions}}&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68479</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68479"/>
		<updated>2021-02-02T13:57:12Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Creates an object in the GTA world.&lt;br /&gt;
{{Note|Dynamic objects do not automatically have physics applied to them. Use setElementVelocity(object, 0, 0, 0) to fix this.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;object createObject ( int modelId, float x, float y, float z, [ float rx, float ry, float rz, bool isLowLOD = false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[Object]]||}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''modelId:''' A whole integer specifying the GTA:SA object model ID.&lt;br /&gt;
*'''x:''' A floating point number representing the X coordinate on the map.&lt;br /&gt;
*'''y:''' A floating point number representing the Y coordinate on the map.&lt;br /&gt;
*'''z:''' A floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''rx:''' A floating point number representing the rotation about the X axis in degrees.&lt;br /&gt;
*'''ry:''' A floating point number representing the rotation about the Y axis in degrees.&lt;br /&gt;
*'''rz:''' A floating point number representing the rotation about the Z axis in degrees.&lt;br /&gt;
{{New items|3.0120|1.2|&lt;br /&gt;
*'''isLowLOD:''' A bool value specifying if the object will be low LOD. A low LOD object has no collision and a longer draw distance.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
* Returns the [[object]] element if the creation was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 1&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object when the resource starts:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function loadMapObjects()&lt;br /&gt;
   -- create an object at a specified position with a specified rotation&lt;br /&gt;
   createObject(1337, 5540.6654, 1020.55122, 1240.545, 90, 0, 0)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onResourceStart&amp;quot;, resourceRoot, loadMapObjects)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 2&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object near the player who write /createObject in the chat:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- this function is called whenever someone types 'createObject' in the console:&lt;br /&gt;
function createObjectCommand(thePlayer, commandName)&lt;br /&gt;
   if (thePlayer) then&lt;br /&gt;
      local x, y, z = getElementPosition(thePlayer)&lt;br /&gt;
      -- create a object next to the player:&lt;br /&gt;
      local theObject = createObject(980, x + 2, y + 2, z, 0, 0, 0)&lt;br /&gt;
      if (theObject) then -- check if the object was created successfully&lt;br /&gt;
         outputConsole(&amp;quot;Object created successfully.&amp;quot;, thePlayer)&lt;br /&gt;
      else&lt;br /&gt;
         outputConsole(&amp;quot;Failed to create the object.&amp;quot;, thePlayer)&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;createObject&amp;quot;, createObjectCommand)&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;
{{Object functions}}&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68478</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68478"/>
		<updated>2021-02-02T13:46:47Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Creates an object in the GTA world.&lt;br /&gt;
{{Note|Dynamic objects do not automatically have physics applied to them. Use setElementVelocity(object, 0, 0, 0) to fix this.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;object createObject ( int modelId, float x, float y, float z, [ float rx, float ry, float rz, bool isLowLOD = false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[Object]]||}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''modelId:''' a whole integer specifying the GTA:SA object model ID.&lt;br /&gt;
*'''x:''' a floating point number representing the X coordinate on the map.&lt;br /&gt;
*'''y:''' a floating point number representing the Y coordinate on the map.&lt;br /&gt;
*'''z:''' a floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''rx:''' a floating point number representing the rotation about the X axis in degrees.&lt;br /&gt;
*'''ry:''' a floating point number representing the rotation about the Y axis in degrees.&lt;br /&gt;
*'''rz:''' a floating point number representing the rotation about the Z axis in degrees.&lt;br /&gt;
{{New items|3.0120|1.2|&lt;br /&gt;
*'''isLowLOD:''' a bool value specifying if the object will be low LOD. A low LOD object has no collision and a longer draw distance.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
* Returns the [[object]] element if the creation was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 1&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object when the resource starts:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function mapLoad(name)&lt;br /&gt;
   -- create an object at a specified position with a specified rotation&lt;br /&gt;
   createObject(1337, 5540.6654, 1020.55122, 1240.545, 90, 0, 0)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onResourceStart&amp;quot;, resourceRoot, mapLoad)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 2&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object near the player who write /createObject in the chat:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- this function is called whenever someone types 'createObject' in the console:&lt;br /&gt;
function createObjectCommand( thePlayer, commandName )&lt;br /&gt;
   if ( thePlayer ) then&lt;br /&gt;
      local x, y, z = getElementPosition ( thePlayer ) -- get the player's position&lt;br /&gt;
      -- create a Object next to the player:&lt;br /&gt;
      local theObject = createObject ( 980, x + 2, y + 2, z, 0, 0, 0 )&lt;br /&gt;
      if ( theObject ) then -- check if the object was created successfully&lt;br /&gt;
         outputConsole ( &amp;quot;Object created successfully.&amp;quot;, thePlayer )&lt;br /&gt;
      else&lt;br /&gt;
         outputConsole ( &amp;quot;Failed to create the object.&amp;quot;, thePlayer )&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;createObject&amp;quot;, createObjectCommand )&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;
{{Object functions}}&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68477</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68477"/>
		<updated>2021-02-02T13:42:52Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{Note|Dynamic objects do not automatically have physics applied to them. Use setElementVelocity(object, 0, 0, 0) to fix this.}}&lt;br /&gt;
Creates an object in the GTA world.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;object createObject ( int modelId, float x, float y, float z, [ float rx, float ry, float rz, bool isLowLOD = false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||Object||}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''modelId:''' a whole integer specifying the GTA:SA object model ID.&lt;br /&gt;
*'''x:''' a floating point number representing the X coordinate on the map.&lt;br /&gt;
*'''y:''' a floating point number representing the Y coordinate on the map.&lt;br /&gt;
*'''z:''' a floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''rx:''' a floating point number representing the rotation about the X axis in degrees.&lt;br /&gt;
*'''ry:''' a floating point number representing the rotation about the Y axis in degrees.&lt;br /&gt;
*'''rz:''' a floating point number representing the rotation about the Z axis in degrees.&lt;br /&gt;
{{New items|3.0120|1.2|&lt;br /&gt;
*'''isLowLOD:''' a bool value specifying if the object will be low LOD. A low LOD object has no collision and a longer draw distance.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
* Returns the [[object]] element if the creation was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 1&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object when the resource starts:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function mapLoad ( name )&lt;br /&gt;
   -- create an object at a specified position with a specified rotation&lt;br /&gt;
   createObject ( 1337, 5540.6654, 1020.55122, 1240.545, 90, 0, 0 )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onResourceStart&amp;quot;, resourceRoot, mapLoad )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-only Example 2&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object near player who write /createObject in the chat:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- this function is called whenever someone types 'createObject' in the console:&lt;br /&gt;
function consoleCreateObject ( thePlayer, commandName )&lt;br /&gt;
   if ( thePlayer ) then&lt;br /&gt;
      local x, y, z = getElementPosition ( thePlayer ) -- get the player's position&lt;br /&gt;
      -- create a Object next to the player:&lt;br /&gt;
      local theObject = createObject ( 980, x + 2, y + 2, z, 0, 0, 0 )&lt;br /&gt;
      if ( theObject ) then -- check if the object was created successfully&lt;br /&gt;
         outputConsole ( &amp;quot;Object created successfully&amp;quot;, thePlayer )&lt;br /&gt;
      else&lt;br /&gt;
         outputConsole ( &amp;quot;Failed to create Object&amp;quot;, thePlayer )&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;createObject&amp;quot;, consoleCreateObject )&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;
{{Object functions}}&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68476</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateObject&amp;diff=68476"/>
		<updated>2021-02-02T13:37:16Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{Note|Dynamic objects do not automatically have physics applied to them. Use setElementVelocity(object, 0, 0, 0) to fix this.}}&lt;br /&gt;
Creates an object in the GTA world.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;object createObject ( int modelId, float x, float y, float z, [ float rx, float ry, float rz, bool isLowLOD = false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||Object||}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''modelId:''' a whole integer specifying the GTA:SA object model ID.&lt;br /&gt;
*'''x:''' a floating point number representing the X coordinate on the map.&lt;br /&gt;
*'''y:''' a floating point number representing the Y coordinate on the map.&lt;br /&gt;
*'''z:''' a floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''rx:''' a floating point number representing the rotation about the X axis in degrees.&lt;br /&gt;
*'''ry:''' a floating point number representing the rotation about the Y axis in degrees.&lt;br /&gt;
*'''rz:''' a floating point number representing the rotation about the Z axis in degrees.&lt;br /&gt;
{{New items|3.0120|1.2|&lt;br /&gt;
*'''isLowLOD:''' a bool value specifying if the object will be low LOD. A low LOD object has no collision and a longer draw distance.&lt;br /&gt;
}}&lt;br /&gt;
===Returns===&lt;br /&gt;
* Returns the [[object]] element if the creation was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server Example 1&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object when the resource starts:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function mapLoad ( name )&lt;br /&gt;
   -- create an object at a specified position with a specified rotation&lt;br /&gt;
   createObject ( 1337, 5540.6654, 1020.55122, 1240.545, 90, 0, 0 )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onResourceStart&amp;quot;, resourceRoot, mapLoad )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server Example 2&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates an object near player who write /createObject in the chat:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- this function is called whenever someone types 'createObject' in the console:&lt;br /&gt;
function consoleCreateObject ( thePlayer, commandName )&lt;br /&gt;
   if ( thePlayer ) then&lt;br /&gt;
      local x, y, z = getElementPosition ( thePlayer ) -- get the player's position&lt;br /&gt;
      -- create a Object next to the player:&lt;br /&gt;
      local theObject = createObject ( 980, x + 2, y + 2, z, 0, 0, 0 )&lt;br /&gt;
      if ( theObject ) then -- check if the object was created successfully&lt;br /&gt;
         outputConsole ( &amp;quot;Object created successfully&amp;quot;, thePlayer )&lt;br /&gt;
      else&lt;br /&gt;
         outputConsole ( &amp;quot;Failed to create Object&amp;quot;, thePlayer )&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;createObject&amp;quot;, consoleCreateObject )&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;
{{Object functions}}&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Changes_in_1.5.8&amp;diff=67740</id>
		<title>Changes in 1.5.8</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Changes_in_1.5.8&amp;diff=67740"/>
		<updated>2020-11-15T16:22:53Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;#39dd57&amp;quot; subcaption=&amp;quot;Current release&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
{{Changelogs}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.7...1.5.8&lt;br /&gt;
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/2&lt;br /&gt;
* Release announcement on forums: https://forum.mtasa.com/topic/127609-multi-theft-auto-san-andreas-158-is-released/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Main Additions / Changes ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
* Added [[dxDrawPrimitive3D]] and [[dxDrawMaterialPrimitive3D]] ([https://github.com/multitheftauto/mtasa-blue/pull/760 #760] by '''CrosRoad95''')&lt;br /&gt;
* Added functions to modify dynamic objects' behaviour ([https://github.com/multitheftauto/mtasa-blue/pull/784 #784] by '''forkerer''')&lt;br /&gt;
* Added dynamic ped ID allocating using [[engineRequestModel]] and [[engineFreeModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/475544f1753ce1af24c4cdff7f0d0be48ede709b #349] by '''lopezloo''' + '''Neproify''' + '''Arran''' + '''qaisjp''')&lt;br /&gt;
* Added functions to manipulate colshapes parameters ([https://github.com/multitheftauto/mtasa-blue/pull/1215 #1215] by '''StrixG''')&lt;br /&gt;
* Added element data subscription functionality ([https://github.com/multitheftauto/mtasa-blue/pull/1055 #1055] by '''tederis''') &lt;br /&gt;
* Added [[engineGetModelTextures]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1058 #1058] by '''Lpsd''')&lt;br /&gt;
* Improve trailer sync ([https://github.com/multitheftauto/mtasa-blue/pull/1247 #1247] by '''tederis''')&lt;br /&gt;
* Added wheel scaling functions ([https://github.com/multitheftauto/mtasa-blue/pull/1641 #1641], [https://github.com/multitheftauto/mtasa-blue/pull/1644 #1644], and [https://github.com/multitheftauto/mtasa-blue/pull/1648 #1648] by '''AlexTMjugador''')&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Statistics ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
These are some statistics since the [[Changes in 1.5.7|previous release]].&lt;br /&gt;
* This is the '''25&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt;''' 1.x.x release&lt;br /&gt;
* '''{{date difference|2019|8|31|2020|10|11}}''' days&lt;br /&gt;
* '''1''' deprecation&lt;br /&gt;
* '''5''' announced backwards incompatible changes&lt;br /&gt;
* '''41''' new functions&lt;br /&gt;
* '''68+''' bug fixes and changes&lt;br /&gt;
* '''465''' commits ([https://github.com/multitheftauto/mtasa-blue/compare/1.5.7...1.5.8 see comparison])&lt;br /&gt;
* '''197''' new open GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aopen+is%3Aissue+created%3A2019-08-31..2020-10-11 see list])&lt;br /&gt;
* '''102''' resolved GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aclosed+is%3Aissue+milestone%3A1.5.8 see list])&lt;br /&gt;
* '''108''' closed GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aclosed+is%3Aissue+closed%3A2019-08-31..2020-10-11+no%3Amilestone see list])&lt;br /&gt;
* '''46''' new open GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Aopen+is%3Apr+created%3A2019-08-31..2020-10-11 see list])&lt;br /&gt;
* '''194''' merged GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+milestone%3A1.5.8+is%3Amerged see list])&lt;br /&gt;
* '''36''' closed GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+is%3Aunmerged+closed%3A2019-08-31..2020-10-11 see list])&lt;br /&gt;
* '''39''' contributors of which '''27''' are new ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors?from=2019-08-31&amp;amp;to=2020-10-11&amp;amp;type=c see list])&lt;br /&gt;
* '''98+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list])&lt;br /&gt;
* '''4''' vendor updates&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
  We don't have the https://www.mediawiki.org/wiki/Extension:Variables extension installed,&lt;br /&gt;
  so remember to update the date in all parts below.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;sub&amp;gt;'''Note:''' Last update to these statistics was made&lt;br /&gt;
{{#ifeq: {{date difference|2020|10|12}} | 0 | today |&lt;br /&gt;
  {{#ifeq: {{date difference|2020|10|12}} | 1 | yesterday |&lt;br /&gt;
    {{date difference|2020|10|12}} days ago&lt;br /&gt;
  }}&lt;br /&gt;
}}.&amp;lt;/sub&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Scripting ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
=== 5 Backwards Incompatible Changes ===&lt;br /&gt;
These changes will take effect in 1.6:&lt;br /&gt;
* [[callRemote]] callbacks currently set the error code to '''nil''' when there is no error. In 1.6, to be consistent with [[fetchRemote]], the error code reported will be '''0'''. See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub #294].&lt;br /&gt;
* Since July 2016 if you provide an invalid string like '''&amp;quot;randomstring&amp;quot;''' when a function expects a number, the string will be treated as '''0''' and raise a script warning. In 1.6 this will be an error. You will still be able to provide strings containing numbers (e.g. '''&amp;quot;100&amp;quot;''' and '''&amp;quot;12.34&amp;quot;'''), this change only affects invalid strings. See [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub #1043].&lt;br /&gt;
* When providing a width and height of (0, 0) to [[createBrowser]] or [[guiCreateBrowser]] you will encounter a script error instead of a warning. The warning was introduced Feb 2019. See [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub #1069].&lt;br /&gt;
* Some functions expect only unsigned integers (positive numbers), and since Jan 2016 providing negative numbers would be a warning. This will now be an error. See [https://github.com/multitheftauto/mtasa-blue/issues/1070 GitHub #1070].&lt;br /&gt;
* Since Aug 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed. See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub #1071].&lt;br /&gt;
&lt;br /&gt;
This list is inconclusive and we may introduce more changes later.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Client ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
=== 21 New Functions ===&lt;br /&gt;
* Added [[setPedFightingStyle]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/810 #810] by '''StrixG''')&lt;br /&gt;
* Added [[setPedArmor]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/811 #811] by '''StrixG''')&lt;br /&gt;
* Added [[areVehicleLightsOn]] ([https://github.com/multitheftauto/mtasa-blue/pull/938 #938] by '''StrixG''')&lt;br /&gt;
* Added [[dxDrawPrimitive3D]] and [[dxDrawMaterialPrimitive3D]] ([https://github.com/multitheftauto/mtasa-blue/pull/760 #760] by '''CrosRoad95''')&lt;br /&gt;
* Added functions to modify dynamic objects' behaviour ([https://github.com/multitheftauto/mtasa-blue/pull/784 #784] by '''forkerer''')&lt;br /&gt;
** [[engineGetModelPhysicalPropertiesGroup]]&lt;br /&gt;
** [[engineRestoreModelPhysicalPropertiesGroup]]&lt;br /&gt;
** [[engineSetModelPhysicalPropertiesGroup]]&lt;br /&gt;
** [[engineGetObjectGroupPhysicalProperty]]&lt;br /&gt;
** [[engineRestoreObjectGroupPhysicalProperties]]&lt;br /&gt;
** [[engineSetObjectGroupPhysicalProperty]]&lt;br /&gt;
* Added dynamic ped ID allocating using [[engineRequestModel]] and [[engineFreeModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/475544f1753ce1af24c4cdff7f0d0be48ede709b #349] by '''lopezloo''' + '''Neproify''' + '''Arran''' + '''qaisjp''')&lt;br /&gt;
* Added [[engineResetModelLODDistance]] function ([https://github.com/multitheftauto/mtasa-blue/pull/971 #971] by '''Lpsd''')&lt;br /&gt;
* Added [[engineGetModelTextures]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1058 #1058] by '''Lpsd''')&lt;br /&gt;
* Added [[resetBlurLevel]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1266 #1266] by '''Luxy.c''')&lt;br /&gt;
* Added [[dxGetTextSize]] function ([https://github.com/multitheftauto/mtasa-blue/pull/935 #935] by '''StrixG''')&lt;br /&gt;
* Added functions to modify vehicle wheels, visibly and in collision by ([https://github.com/multitheftauto/mtasa-blue/pull/1641 #1641], [https://github.com/multitheftauto/mtasa-blue/pull/1644 #1644], and [https://github.com/multitheftauto/mtasa-blue/pull/1648 #1648] by '''AlexTMjugador''')&lt;br /&gt;
** [[getVehicleWheelScale]]&lt;br /&gt;
** [[getVehicleModelWheelSize]]&lt;br /&gt;
** [[setVehicleWheelScale]]&lt;br /&gt;
** [[setVehicleModelWheelSize]]&lt;br /&gt;
&lt;br /&gt;
=== 49 Bug Fixes &amp;amp; Changes ===&lt;br /&gt;
* Added new client setting to toggle external sounds ([https://github.com/multitheftauto/mtasa-blue/pull/834 #834] by '''patrikjuvonen''')&lt;br /&gt;
* Fix crash when attempting to stream out a sound that's not streamed in (See commit [https://github.com/multitheftauto/mtasa-blue/commit/e1b7c730448d12a5eeb452239e8053e86924294f e1b7c73] by '''sbx320''')&lt;br /&gt;
* Fix [[dxDrawCircle]] ''segments'' argument being wrongly offset by one ([https://github.com/multitheftauto/mtasa-blue/pull/1079 #1079] by '''ApeLsiN4eG''')&lt;br /&gt;
* Fix potential crash when moving objects (See commit [https://github.com/multitheftauto/mtasa-blue/commit/90895c221549893501f5f717af3ca56878e29b5d 90895c2] by '''botder''')&lt;br /&gt;
* Update credits (See commit [https://github.com/multitheftauto/mtasa-blue/commit/39227d795efafe940dc6c317c20b0162b1bd0bb3 39227d7] by '''qaisjp''')&lt;br /&gt;
* Don't apply damage to peds without a game entity (See commit [https://github.com/multitheftauto/mtasa-blue/commit/632130e36a96071290593fc3c677a536f7b19e1f 632130e] by '''botder''')&lt;br /&gt;
* Fix doors state with setElementModel ([https://github.com/multitheftauto/mtasa-blue/pull/599 #599] by '''FileEX''')&lt;br /&gt;
* Added CVAR _beta_qc_rightclick_command allowing you to reconnect by right clicking the &amp;quot;Quick Connect&amp;quot; button on the main menu (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1c60675fc0f0f62b69707ae81a82e6bbdf36042 d1c60675] by '''qaisjp''')&lt;br /&gt;
* Added more data to [[getPedAnimation]] ([https://github.com/multitheftauto/mtasa-blue/pull/892 #892] by '''Dezash''')&lt;br /&gt;
* Added missing destroy method to DxFont ([https://github.com/multitheftauto/mtasa-blue/pull/1259 #1259] by '''MegadreamsBE''')&lt;br /&gt;
* Increase [[setPedAnimationSpeed]] limit (See commit [https://github.com/multitheftauto/mtasa-blue/commit/4c36d37056d2a1496904f394bf96303dd0f2b4c5 4c36d37] by '''qaisjp''')&lt;br /&gt;
* Fix &amp;quot;ancient&amp;quot; weapon fire crash ([https://github.com/multitheftauto/mtasa-blue/pull/1109 #1109] by '''saml1er''')&lt;br /&gt;
* Fix [[bitExtract]] (See commit [https://github.com/multitheftauto/mtasa-blue/commit/aa2df39d3e40e5b446ffea376ef96df89916a9d0 aa2df39d] by '''ccw808''')&lt;br /&gt;
* Fix texture blending ([https://github.com/multitheftauto/mtasa-blue/pull/1098 #1098] by '''StrixG''')&lt;br /&gt;
* Added client setting to toggle internet sound streams ([https://github.com/multitheftauto/mtasa-blue/pull/834 #834] by '''patrikjuvonen''')&lt;br /&gt;
* Implement &amp;quot;remember this option&amp;quot; checkbox to NVidia Optimus dialog ([https://github.com/multitheftauto/mtasa-blue/pull/1177 #1177] by '''Lpsd''')&lt;br /&gt;
* Fix inability to crouch when player has 1 HP ([https://github.com/multitheftauto/mtasa-blue/pull/1138 #1138] by '''CrosRoad95''')&lt;br /&gt;
* Improve trailer sync ([https://github.com/multitheftauto/mtasa-blue/pull/1247 #1247] by '''tederis''')&lt;br /&gt;
* Fix driveby for peds ([https://github.com/multitheftauto/mtasa-blue/pull/1290 #1290] by '''Zangomangu''')&lt;br /&gt;
* Added &amp;quot;SettingHighDetailPeds&amp;quot; to [[dxGetStatus]] ([https://github.com/multitheftauto/mtasa-blue/pull/1384 #1384] by '''Patrick2562''')&lt;br /&gt;
* Added feature to remove server from the &amp;quot;Recent&amp;quot; tab in server browser ([https://github.com/multitheftauto/mtasa-blue/pull/1381 #1381] by '''ecastro98''')&lt;br /&gt;
* Fix [[warpPedIntoVehicle]] failure when there are too many vehicles streamed in ([https://github.com/multitheftauto/mtasa-blue/pull/1431 #1431] by '''saml1er''')&lt;br /&gt;
* Fix issue with [[engineReplaceModel]] kicking the player out of the vehicle ([https://github.com/multitheftauto/mtasa-blue/pull/1433 #1433] by '''saml1er''')&lt;br /&gt;
* Moved exe patching to loader ([https://github.com/multitheftauto/mtasa-blue/pull/1520 #1520] by '''ccw808''')&lt;br /&gt;
* Fix various return values when using OOP (e.g: [https://github.com/multitheftauto/mtasa-blue/commit/5110559b7a7f2d258f01be1dce18fe63d8bca400 5110559b], [https://github.com/multitheftauto/mtasa-blue/commit/88379b8ded766b2d35e171b6d11ef33cb2663b96 88379b8d] by '''qaisjp''')&lt;br /&gt;
* Fixed incorrect VRAM detection ([https://github.com/multitheftauto/mtasa-blue/pull/1589 #1589] by '''TheNormalnij''')&lt;br /&gt;
* Added ability to play sounds from raw data to playSound(3D) ([https://github.com/multitheftauto/mtasa-blue/pull/1234 #1234] by '''Dezash''')&lt;br /&gt;
* Allow downloading of files from other resources ([https://github.com/multitheftauto/mtasa-blue/pull/945 #945] by '''TheNormalnij''') - this affects:&lt;br /&gt;
** [[downloadFile]]&lt;br /&gt;
** [[onClientFileDownloadComplete]]&lt;br /&gt;
* Added ability to get raw controller analog value ([https://github.com/multitheftauto/mtasa-blue/pull/1165 #1165] by '''Addlibs''')&lt;br /&gt;
* Added user agent workaround for YouTube TV ([https://github.com/multitheftauto/mtasa-blue/pull/1243 #1243] by '''qaisjp''')&lt;br /&gt;
* Added missing destroy method to DxFont ([https://github.com/multitheftauto/mtasa-blue/pull/1259 #1259] by '''MegadreamsBE''')&lt;br /&gt;
* Fix engineReplaceModel memory leak ([https://github.com/multitheftauto/mtasa-blue/pull/1265 #1265] by '''saml1er''')&lt;br /&gt;
* Fix vehicle model memory leaks (See commit [https://github.com/multitheftauto/mtasa-blue/commit/46dbbe7dd2c4621d7564cf272e8a432cf9f57300 46dbbe7] by '''saml1er''')&lt;br /&gt;
* Fix texture memory leak (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d5722d5ac5c0ed0210849bf03c263ec88ea98c2a d5722d5] by '''saml1er''')&lt;br /&gt;
* Enable enter_exit for peds to fix alternative attack ([https://github.com/multitheftauto/mtasa-blue/pull/1295 #1295] by '''Zangomangu''')&lt;br /&gt;
* Fix &amp;quot;Select device&amp;quot; hides under other program without MTA icon on a taskbar (See commit [https://github.com/multitheftauto/mtasa-blue/commit/2c5251a42a640ccc9ffa928cb2844c9295f47c6c 2c5251a] by '''ccw808''')&lt;br /&gt;
* Fix primitive colors are always white ([https://github.com/multitheftauto/mtasa-blue/pull/1312 #1312] by '''StrixG''')&lt;br /&gt;
* Added analog control sync for accelerate and brake_reverse ([https://github.com/multitheftauto/mtasa-blue/pull/1164 #1164] by '''Addlibs''')&lt;br /&gt;
* Fix resetting dummies in vehicles with replaced models ([https://github.com/multitheftauto/mtasa-blue/pull/1059 #1059] by '''forkerer''' and '''saml1er''')&lt;br /&gt;
* Return vector3 instead of number at ped's target ([https://github.com/multitheftauto/mtasa-blue/pull/1379 #1379] by '''ecastro98''')&lt;br /&gt;
* Fix replaced weapon_crouch anim does not play if retainPedState is true ([https://github.com/multitheftauto/mtasa-blue/pull/1414 #1414] by '''saml1er''')&lt;br /&gt;
* Fix nametags are interiorless ([https://github.com/multitheftauto/mtasa-blue/commit/3df58bd435b3c4052fa5e7fe57d534bdca7e0d2b 3df58bd] by '''qaisjp''')&lt;br /&gt;
* Remove amx from the installer (See commit [https://github.com/multitheftauto/mtasa-blue/commit/7d4091fac6e41e6d9e199cd0a03c927dc48aac79 7d4091f] by '''qaisjp''')&lt;br /&gt;
* Potential fix for vehicle dummies crash ([https://github.com/multitheftauto/mtasa-blue/pull/1524 #1524] by '''saml1er''')&lt;br /&gt;
* Added  projectiles support for [[getElementModel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1550 #1550] by '''StrixG''')&lt;br /&gt;
* Fix getBoundKeys returning a table on empty argument ([https://github.com/multitheftauto/mtasa-blue/pull/1615 #1615] by '''Tete''')&lt;br /&gt;
* Fix strange behavior (crashes, flickers, glitches) of Skimmer ([https://github.com/multitheftauto/mtasa-blue/pull/1624 #1624] by '''ccw808''')&lt;br /&gt;
* Potential fixes for custom map collision crashes ([https://github.com/multitheftauto/mtasa-blue/pull/1613 #1613] by '''saml1er''')&lt;br /&gt;
* Remove client entity check from [[setPedArmor]] ([https://github.com/multitheftauto/mtasa-blue/pull/1638 #1638] by '''qaisjp''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3 Vendor Updates ===&lt;br /&gt;
* Update BASS libraries ([https://github.com/multitheftauto/mtasa-blue/pull/1551 #1551] by '''Dutchman101''')&lt;br /&gt;
* Update CEF from 76.1.13+gf19c584 (Chromium 76.0.3809.132) to 85.3.12+g3e94ebf ([https://chromereleases.googleblog.com/2020/09/stable-channel-update-for-desktop_21.html Chromium 85.0.4183.121]) (See commit [https://github.com/multitheftauto/mtasa-blue/pull/1698 #1698] by '''Jusonex''' and '''Dutchman101''')&lt;br /&gt;
* Update UnRAR from 5.71 to 5.91 ([https://github.com/multitheftauto/mtasa-blue/pull/1606 #1606] by '''patrikjuvonen''')&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
=== 3 New Functions ===&lt;br /&gt;
* Added [[setPlayerScriptDebugLevel]] and [[getPlayerScriptDebugLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/826 #826] by '''knitz12''')&lt;br /&gt;
* Added [[isResourceProtected]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1254 #1254] by '''StrixG''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 10 Bug Fixes &amp;amp; Changes ===&lt;br /&gt;
* Fix [[iprint]] to be able to read and output nil arguments properly ([https://github.com/multitheftauto/mtasa-blue/pull/1064 #1064] by '''TheNormalnij''')&lt;br /&gt;
* Accept team &amp;amp; table of players in [[outputChatBox]] ([https://github.com/multitheftauto/mtasa-blue/pull/1213 #1213] by '''StrixG''')&lt;br /&gt;
* Fix /msg command duplicating when sent by Server Console ([https://github.com/multitheftauto/mtasa-blue/pull/1411 #1411] by '''Dezash''')&lt;br /&gt;
* Make colshapes cloneable ([https://github.com/multitheftauto/mtasa-blue/pull/1214 #1214] by '''StrixG''')&lt;br /&gt;
* Fix double chat messages if player is in team ([https://github.com/multitheftauto/mtasa-blue/pull/1241 #1241] by '''StrixG''' and '''Luxy.c''')&lt;br /&gt;
* Don't queue a resource restart if resource is stopping ([https://github.com/multitheftauto/mtasa-blue/pull/960 #960] by '''StrixG''')&lt;br /&gt;
* Added support for more map attributes ([https://github.com/multitheftauto/mtasa-blue/pull/263 #263] by '''patrikjuvonen''')&lt;br /&gt;
* Fix server-client inconsistency for isElementAttached failure return ([https://github.com/multitheftauto/mtasa-blue/commit/866506d3f6ebe4a0d4d39664cc4e7d7c0cef1a7c 866506d] by '''qaisjp''')&lt;br /&gt;
* Make [[kickPlayer]] accept the Console element as responsiblePlayer ([https://github.com/multitheftauto/mtasa-blue/pull/1427 #1427] by '''qaisjp''')&lt;br /&gt;
* Fix stack overflow when attaching elements in maps ([https://github.com/multitheftauto/mtasa-blue/pull/1663 #1663] by '''tederis''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1 Vendor Update ===&lt;br /&gt;
* Update sqlite from 3.31.1 to 3.32.3 ([https://github.com/multitheftauto/mtasa-blue/pull/1561 #1561] by '''patrikjuvonen''')&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Shared (''Client &amp;amp; Server side'') ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
=== 17 New Functions ===&lt;br /&gt;
* Added [[xmlLoadString]] ([https://github.com/multitheftauto/mtasa-blue/pull/809 #809] by '''Lpsd''')&lt;br /&gt;
* Added request info &amp;amp; abort functions for [[fetchRemote]]/[[callRemote]] ([https://github.com/multitheftauto/mtasa-blue/pull/660 #660] by '''Luxy.c''')&lt;br /&gt;
** [[getRemoteRequests]]&lt;br /&gt;
** [[getRemoteRequestInfo]]&lt;br /&gt;
** [[abortRemoteRequest]]&lt;br /&gt;
* Added functions to manipulate colshapes parameters ([https://github.com/multitheftauto/mtasa-blue/pull/1215 #1215] by '''StrixG''')&lt;br /&gt;
** [[getColShapeRadius]]&lt;br /&gt;
** [[setColShapeRadius]]&lt;br /&gt;
** [[getColShapeSize]]&lt;br /&gt;
** [[setColShapeSize]]&lt;br /&gt;
** [[getColPolygonPoints]]&lt;br /&gt;
** [[getColPolygonPointPosition]]&lt;br /&gt;
** [[setColPolygonPointPosition]]&lt;br /&gt;
** [[addColPolygonPoint]]&lt;br /&gt;
** [[removeColPolygonPoint]]&lt;br /&gt;
* Added [[hasElementData]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1163 #1163] by '''Simi2''')&lt;br /&gt;
* Added element data subscription functionality ([https://github.com/multitheftauto/mtasa-blue/pull/1055 #1055] by '''tederis''') - includes 3 new functions:&lt;br /&gt;
** [[addElementDataSubscriber]]&lt;br /&gt;
** [[removeElementDataSubscriber]]&lt;br /&gt;
** [[hasElementDataSubscriber]]&lt;br /&gt;
** Adds 1 additional parameter to [[setElementData]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1 Deprecation ===&lt;br /&gt;
* Added deprecation message to [[passwordHash]] when using custom salts ([https://github.com/multitheftauto/mtasa-blue/pull/1208 #1208] by '''Luxy.c''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 9 Bug Fixes &amp;amp; Changes ===&lt;br /&gt;
* Added async [[encodeString]]/[[decodeString]] ([https://github.com/multitheftauto/mtasa-blue/pull/1226 #1226] by '''StrixG''')&lt;br /&gt;
* Fix colshape and marker hit detection when attaching ([https://github.com/multitheftauto/mtasa-blue/pull/1327 #1327] by '''Lpsd''')&lt;br /&gt;
* Fix driveby aiming being inverted in some cases ([https://github.com/multitheftauto/mtasa-blue/pull/1442 #1442] by '''Zangomangu''')&lt;br /&gt;
* Added bIncludeWorldSeaLevel and bIncludeOutsideWorldLevel parameters to [[setWaterLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1342 #1342] by '''TheNormalnij''')&lt;br /&gt;
* Added [[outputDebugString]] level 4 to omit certain debug info ([https://github.com/multitheftauto/mtasa-blue/pull/1167 #1167] by '''Addlibs''')&lt;br /&gt;
* Fix incorrect hash capitalisation ([https://github.com/multitheftauto/mtasa-blue/pull/1527 #1527] by '''qaisjp''')&lt;br /&gt;
* Fix debugscript setting to 0 when using invalid characters ([https://github.com/multitheftauto/mtasa-blue/pull/1602 #1602] by '''Unde-R''')&lt;br /&gt;
* Fix privilege escalation ([https://github.com/multitheftauto/mtasa-blue/pull/1627 #1627] by '''ciber96''')&lt;br /&gt;
* Increase Lua integer formatting type from long to long long ([https://github.com/multitheftauto/mtasa-blue/pull/1672 #1672] by '''sbx320''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3 Vendor Updates ===&lt;br /&gt;
* Update curl from 7.68.0 to 7.72.0 ([https://github.com/multitheftauto/mtasa-blue/pull/1562 #1562] by '''patrikjuvonen''')&lt;br /&gt;
* Update cryptopp from 8.1.0 to 8.2.0 ([https://github.com/multitheftauto/mtasa-blue/pull/1637 #1637] by '''StrixG''')&lt;br /&gt;
* Update json-c from 0.13.1 to 0.15 ([https://github.com/multitheftauto/mtasa-blue/pull/1605 #1605] by '''patrikjuvonen''')&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
== Extra information ==&lt;br /&gt;
''More detailed information available on our GitHub repositories:&lt;br /&gt;
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]&lt;br /&gt;
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Changelog]]&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Changes_in_1.5.8&amp;diff=67739</id>
		<title>Changes in 1.5.8</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Changes_in_1.5.8&amp;diff=67739"/>
		<updated>2020-11-15T16:22:31Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;#39dd57&amp;quot; subcaption=&amp;quot;Current release&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
{{Changelogs}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.7...1.5.8&lt;br /&gt;
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/2&lt;br /&gt;
* Release announcement on forums: https://forum.mtasa.com/topic/127609-multi-theft-auto-san-andreas-158-is-released/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Main Additions / Changes ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
* Added [[dxDrawPrimitive3D]] and [[dxDrawMaterialPrimitive3D]] ([https://github.com/multitheftauto/mtasa-blue/pull/760 #760] by '''CrosRoad95''')&lt;br /&gt;
* Added functions to modify dynamic objects' behaviour ([https://github.com/multitheftauto/mtasa-blue/pull/784 #784] by '''forkerer''')&lt;br /&gt;
* Added dynamic ped ID allocating using [[engineRequestModel]] and [[engineFreeModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/475544f1753ce1af24c4cdff7f0d0be48ede709b #349] by '''lopezloo''' + '''Neproify''' + '''Arran''' + '''qaisjp''')&lt;br /&gt;
* Added functions to manipulate colshapes parameters ([https://github.com/multitheftauto/mtasa-blue/pull/1215 #1215] by '''StrixG''')&lt;br /&gt;
* Added element data subscription functionality ([https://github.com/multitheftauto/mtasa-blue/pull/1055 #1055] by '''tederis''') &lt;br /&gt;
* Added [[engineGetModelTextures]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1058 #1058] by '''Lpsd''')&lt;br /&gt;
* Improve trailer sync ([https://github.com/multitheftauto/mtasa-blue/pull/1247 #1247] by '''tederis''')&lt;br /&gt;
* Added wheel scaling functions ([https://github.com/multitheftauto/mtasa-blue/pull/1641 #1641], [https://github.com/multitheftauto/mtasa-blue/pull/1644 #1644], and [https://github.com/multitheftauto/mtasa-blue/pull/1648 #1648] by '''AlexTMjugador''')&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Statistics ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
These are some statistics since the [[Changes in 1.5.7|previous release]].&lt;br /&gt;
* This is the '''25&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt;''' 1.x.x release&lt;br /&gt;
* '''{{date difference|2019|8|31|2020|10|11}}''' days&lt;br /&gt;
* '''1''' deprecation&lt;br /&gt;
* '''5''' announced backwards incompatible changes&lt;br /&gt;
* '''41''' new functions&lt;br /&gt;
* '''68+''' bug fixes and changes&lt;br /&gt;
* '''465''' commits ([https://github.com/multitheftauto/mtasa-blue/compare/1.5.7...1.5.8 see comparison])&lt;br /&gt;
* '''197''' new open GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aopen+is%3Aissue+created%3A2019-08-31..2020-10-11 see list])&lt;br /&gt;
* '''102''' resolved GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aclosed+is%3Aissue+milestone%3A1.5.8 see list])&lt;br /&gt;
* '''108''' closed GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aclosed+is%3Aissue+closed%3A2019-08-31..2020-10-11+no%3Amilestone see list])&lt;br /&gt;
* '''46''' new open GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Aopen+is%3Apr+created%3A2019-08-31..2020-10-11 see list])&lt;br /&gt;
* '''194''' merged GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+milestone%3A1.5.8+is%3Amerged see list])&lt;br /&gt;
* '''36''' closed GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+is%3Aunmerged+closed%3A2019-08-31..2020-10-11 see list])&lt;br /&gt;
* '''39''' contributors of which '''27''' are new ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors?from=2019-08-31&amp;amp;to=2020-10-11&amp;amp;type=c see list])&lt;br /&gt;
* '''98+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list])&lt;br /&gt;
* '''4''' vendor updates&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
  We don't have the https://www.mediawiki.org/wiki/Extension:Variables extension installed,&lt;br /&gt;
  so remember to update the date in all parts below.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;sub&amp;gt;'''Note:''' Last update to these statistics was made&lt;br /&gt;
{{#ifeq: {{date difference|2020|10|12}} | 0 | today |&lt;br /&gt;
  {{#ifeq: {{date difference|2020|10|12}} | 1 | yesterday |&lt;br /&gt;
    {{date difference|2020|10|12}} days ago&lt;br /&gt;
  }}&lt;br /&gt;
}}.&amp;lt;/sub&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Scripting ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
=== 5 Backwards Incompatible Changes ===&lt;br /&gt;
These changes will take effect in 1.6:&lt;br /&gt;
* [[callRemote]] callbacks currently set the error code to '''nil''' when there is no error. In 1.6, to be consistent with [[fetchRemote]], the error code reported will be '''0'''. See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub #294].&lt;br /&gt;
* Since July 2016 if you provide an invalid string like '''&amp;quot;randomstring&amp;quot;''' when a function expects a number, the string will be treated as '''0''' and raise a script warning. In 1.6 this will be an error. You will still be able to provide strings containing numbers (e.g. '''&amp;quot;100&amp;quot;''' and '''&amp;quot;12.34&amp;quot;'''), this change only affects invalid strings. See [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub #1043].&lt;br /&gt;
* When providing a width and height of (0, 0) to [[createBrowser]] or [[guiCreateBrowser]] you will encounter a script error instead of a warning. The warning was introduced Feb 2019. See [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub #1069].&lt;br /&gt;
* Some functions expect only unsigned integers (positive numbers), and since Jan 2016 providing negative numbers would be a warning. This will now be an error. See [https://github.com/multitheftauto/mtasa-blue/issues/1070 GitHub #1070].&lt;br /&gt;
* Since Aug 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed. See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub #1071].&lt;br /&gt;
&lt;br /&gt;
This list is inconclusive and we may introduce more changes later.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Client ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
=== 21 New Functions ===&lt;br /&gt;
* Added [[setPedFightingStyle]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/810 #810] by '''StrixG''')&lt;br /&gt;
* Added [[setPedArmor]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/811 #811] by '''StrixG''')&lt;br /&gt;
* Added [[areVehicleLightsOn]] ([https://github.com/multitheftauto/mtasa-blue/pull/938 #938] by '''StrixG''')&lt;br /&gt;
* Added [[dxDrawPrimitive3D]] and [[dxDrawMaterialPrimitive3D]] ([https://github.com/multitheftauto/mtasa-blue/pull/760 #760] by '''CrosRoad95''')&lt;br /&gt;
* Added functions to modify dynamic objects' behaviour ([https://github.com/multitheftauto/mtasa-blue/pull/784 #784] by '''forkerer''')&lt;br /&gt;
** [[engineGetModelPhysicalPropertiesGroup]]&lt;br /&gt;
** [[engineRestoreModelPhysicalPropertiesGroup]]&lt;br /&gt;
** [[engineSetModelPhysicalPropertiesGroup]]&lt;br /&gt;
** [[engineGetObjectGroupPhysicalProperty]]&lt;br /&gt;
** [[engineRestoreObjectGroupPhysicalProperties]]&lt;br /&gt;
** [[engineSetObjectGroupPhysicalProperty]]&lt;br /&gt;
* Added dynamic ped ID allocating using [[engineRequestModel]] and [[engineFreeModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/475544f1753ce1af24c4cdff7f0d0be48ede709b #349] by '''lopezloo''' + '''Neproify''' + '''Arran''' + '''qaisjp''')&lt;br /&gt;
* Added [[engineResetModelLODDistance]] function ([https://github.com/multitheftauto/mtasa-blue/pull/971 #971] by '''Lpsd''')&lt;br /&gt;
* Added [[engineGetModelTextures]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1058 #1058] by '''Lpsd''')&lt;br /&gt;
* Added [[resetBlurLevel]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1266 #1266] by '''Luxy.c''')&lt;br /&gt;
* Added [[dxGetTextSize]] function ([https://github.com/multitheftauto/mtasa-blue/pull/935 #935] by '''StrixG''')&lt;br /&gt;
* Added functions to modify vehicle wheels, visibly and in collision by ([https://github.com/multitheftauto/mtasa-blue/pull/1641 #1641], [https://github.com/multitheftauto/mtasa-blue/pull/1644 #1644], and [https://github.com/multitheftauto/mtasa-blue/pull/1648 #1648] by '''AlexTMjugador''')&lt;br /&gt;
** [[getVehicleWheelScale]]&lt;br /&gt;
** [[getVehicleModelWheelSize]]&lt;br /&gt;
** [[setVehicleWheelScale]]&lt;br /&gt;
** [[setVehicleModelWheelSize]]&lt;br /&gt;
&lt;br /&gt;
=== 49 Bug Fixes &amp;amp; Changes ===&lt;br /&gt;
* Added new client setting to toggle external sounds ([https://github.com/multitheftauto/mtasa-blue/pull/834 #834] by '''patrikjuvonen''')&lt;br /&gt;
* Fix crash when attempting to stream out a sound that's not streamed in (See commit [https://github.com/multitheftauto/mtasa-blue/commit/e1b7c730448d12a5eeb452239e8053e86924294f e1b7c73] by '''sbx320''')&lt;br /&gt;
* Fix [[dxDrawCircle]] ''segments'' argument being wrongly offset by one ([https://github.com/multitheftauto/mtasa-blue/pull/1079 #1079] by '''ApeLsiN4eG''')&lt;br /&gt;
* Fix potential crash when moving objects (See commit [https://github.com/multitheftauto/mtasa-blue/commit/90895c221549893501f5f717af3ca56878e29b5d 90895c2] by '''botder''')&lt;br /&gt;
* Update credits (See commit [https://github.com/multitheftauto/mtasa-blue/commit/39227d795efafe940dc6c317c20b0162b1bd0bb3 39227d7] by '''qaisjp''')&lt;br /&gt;
* Don't apply damage to peds without a game entity (See commit [https://github.com/multitheftauto/mtasa-blue/commit/632130e36a96071290593fc3c677a536f7b19e1f 632130e] by '''botder''')&lt;br /&gt;
* Fix doors state with setElementModel ([https://github.com/multitheftauto/mtasa-blue/pull/599 #599] by '''FileEX''')&lt;br /&gt;
* Added CVAR _beta_qc_rightclick_command allowing you to reconnect by right clicking the &amp;quot;Quick Connect&amp;quot; button on the main menu (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1c60675fc0f0f62b69707ae81a82e6bbdf36042 d1c60675] by '''qaisjp''')&lt;br /&gt;
* Added more data to [[getPedAnimation]] ([https://github.com/multitheftauto/mtasa-blue/pull/892 #892] by '''Dezash''')&lt;br /&gt;
* Added missing destroy method to DxFont ([https://github.com/multitheftauto/mtasa-blue/pull/1259 #1259] by '''MegadreamsBE''')&lt;br /&gt;
* Increase [[setPedAnimationSpeed]] limit (See commit [https://github.com/multitheftauto/mtasa-blue/commit/4c36d37056d2a1496904f394bf96303dd0f2b4c5 4c36d37] by '''qaisjp''')&lt;br /&gt;
* Fix &amp;quot;ancient&amp;quot; weapon fire crash ([https://github.com/multitheftauto/mtasa-blue/pull/1109 #1109] by '''saml1er''')&lt;br /&gt;
* Fix [[bitExtract]] (See commit [https://github.com/multitheftauto/mtasa-blue/commit/aa2df39d3e40e5b446ffea376ef96df89916a9d0 aa2df39d] by '''ccw808''')&lt;br /&gt;
* Fix texture blending ([https://github.com/multitheftauto/mtasa-blue/pull/1098 #1098] by '''StrixG''')&lt;br /&gt;
* Added client setting to toggle internet sound streams ([https://github.com/multitheftauto/mtasa-blue/pull/834 #834] by '''patrikjuvonen''')&lt;br /&gt;
* Implement &amp;quot;remember this option&amp;quot; checkbox to NVidia Optimus dialog ([https://github.com/multitheftauto/mtasa-blue/pull/1177 #1177] by '''Lpsd''')&lt;br /&gt;
* Fix inability to crouch when player has 1 HP ([https://github.com/multitheftauto/mtasa-blue/pull/1138 #1138] by '''CrosRoad95''')&lt;br /&gt;
* Improve trailer sync ([https://github.com/multitheftauto/mtasa-blue/pull/1247 #1247] by '''tederis''')&lt;br /&gt;
* Fix driveby for peds ([https://github.com/multitheftauto/mtasa-blue/pull/1290 #1290] by '''Zangomangu''')&lt;br /&gt;
* Added &amp;quot;SettingHighDetailPeds&amp;quot; to [[dxGetStatus]] ([https://github.com/multitheftauto/mtasa-blue/pull/1384 #1384] by '''Patrick2562''')&lt;br /&gt;
* Added feature to remove server from the &amp;quot;Recent&amp;quot; tab in server browser ([https://github.com/multitheftauto/mtasa-blue/pull/1381 #1381] by '''ecastro98''')&lt;br /&gt;
* Fix [[warpPedIntoVehicle]] failure when there are too many vehicles streamed in ([https://github.com/multitheftauto/mtasa-blue/pull/1431 #1431] by '''saml1er''')&lt;br /&gt;
* Fix issue with [[engineReplaceModel]] kicking the player out of the vehicle ([https://github.com/multitheftauto/mtasa-blue/pull/1433 #1433] by '''saml1er''')&lt;br /&gt;
* Moved exe patching to loader ([https://github.com/multitheftauto/mtasa-blue/pull/1520 #1520] by '''ccw808''')&lt;br /&gt;
* Fix various return values when using OOP (e.g: [https://github.com/multitheftauto/mtasa-blue/commit/5110559b7a7f2d258f01be1dce18fe63d8bca400 5110559b], [https://github.com/multitheftauto/mtasa-blue/commit/88379b8ded766b2d35e171b6d11ef33cb2663b96 88379b8d] by '''qaisjp''')&lt;br /&gt;
* Fixed incorrect VRAM detection ([https://github.com/multitheftauto/mtasa-blue/pull/1589 #1589] by '''TheNormalnij''')&lt;br /&gt;
* Added ability to play sounds from raw data to playSound(3D) ([https://github.com/multitheftauto/mtasa-blue/pull/1234 #1234] by '''Dezash''')&lt;br /&gt;
* Allow downloading of files from other resources ([https://github.com/multitheftauto/mtasa-blue/pull/945 #945] by '''TheNormalnij''') - this affects:&lt;br /&gt;
** [[downloadFile]]&lt;br /&gt;
** [[onClientFileDownloadComplete]]&lt;br /&gt;
* Added ability to get raw controller analog value ([https://github.com/multitheftauto/mtasa-blue/pull/1165 #1165] by '''Addlibs''')&lt;br /&gt;
* Added user agent workaround for YouTube TV ([https://github.com/multitheftauto/mtasa-blue/pull/1243 #1243] by '''qaisjp''')&lt;br /&gt;
* Added missing destroy method to DxFont ([https://github.com/multitheftauto/mtasa-blue/pull/1259 #1259] by '''MegadreamsBE''')&lt;br /&gt;
* Fix engineReplaceModel memory leak ([https://github.com/multitheftauto/mtasa-blue/pull/1265 #1265] by '''saml1er''')&lt;br /&gt;
* Fix vehicle model memory leaks (See commit [https://github.com/multitheftauto/mtasa-blue/commit/46dbbe7dd2c4621d7564cf272e8a432cf9f57300 46dbbe7] by '''saml1er''')&lt;br /&gt;
* Fix texture memory leak (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d5722d5ac5c0ed0210849bf03c263ec88ea98c2a d5722d5] by '''saml1er''')&lt;br /&gt;
* Enable enter_exit for peds to fix alternative attack ([https://github.com/multitheftauto/mtasa-blue/pull/1295 #1295] by '''Zangomangu''')&lt;br /&gt;
* Fix &amp;quot;Select device&amp;quot; hides under other program without MTA icon on a taskbar (See commit [https://github.com/multitheftauto/mtasa-blue/commit/2c5251a42a640ccc9ffa928cb2844c9295f47c6c 2c5251a] by '''ccw808''')&lt;br /&gt;
* Fix primitive colors are always white ([https://github.com/multitheftauto/mtasa-blue/pull/1312 #1312] by '''StrixG''')&lt;br /&gt;
* Added analog control sync for accelerate and brake_reverse ([https://github.com/multitheftauto/mtasa-blue/pull/1164 #1164] by '''Addlibs''')&lt;br /&gt;
* Fix resetting dummies in vehicles with replaced models ([https://github.com/multitheftauto/mtasa-blue/pull/1059 #1059] by '''forkerer''' and '''saml1er''')&lt;br /&gt;
* Return vector3 instead of number at ped's target ([https://github.com/multitheftauto/mtasa-blue/pull/1379 #1379] by '''ecastro98''')&lt;br /&gt;
* Fix replaced weapon_crouch anim does not play if retainPedState is true ([https://github.com/multitheftauto/mtasa-blue/pull/1414 #1414] by '''saml1er''')&lt;br /&gt;
* Fix nametags are interiorless ([https://github.com/multitheftauto/mtasa-blue/commit/3df58bd435b3c4052fa5e7fe57d534bdca7e0d2b 3df58bd] by '''qaisjp''')&lt;br /&gt;
* Remove amx from the installer (See commit [https://github.com/multitheftauto/mtasa-blue/commit/7d4091fac6e41e6d9e199cd0a03c927dc48aac79 7d4091f] by '''qaisjp''')&lt;br /&gt;
* Potential fix for vehicle dummies crash ([https://github.com/multitheftauto/mtasa-blue/pull/1524 #1524] by '''saml1er''')&lt;br /&gt;
* Added  projectiles support for [[getElementModel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1550 #1550] by '''StrixG''')&lt;br /&gt;
* Fix getBoundKeys returning a table on empty argument ([https://github.com/multitheftauto/mtasa-blue/pull/1615 #1615] by '''Tete''')&lt;br /&gt;
* Fix strange behavior (crashes, flickers, glitches) of Skimmer ([https://github.com/multitheftauto/mtasa-blue/pull/1624 #1624] by '''ccw808''')&lt;br /&gt;
* Potential fixes for custom map collision crashes ([https://github.com/multitheftauto/mtasa-blue/pull/1613 #1613] by '''saml1er''')&lt;br /&gt;
* Remove client entity check from [[setPedArmor]] ([https://github.com/multitheftauto/mtasa-blue/pull/1638 #1638] by '''qaisjp''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3 Vendor Updates ===&lt;br /&gt;
* Update BASS libraries ([https://github.com/multitheftauto/mtasa-blue/pull/1551 #1551] by '''Dutchman101''')&lt;br /&gt;
* Update CEF from 76.1.13+gf19c584 (Chromium 76.0.3809.132) to 85.3.12+g3e94ebf ([https://chromereleases.googleblog.com/2020/09/stable-channel-update-for-desktop_21.html Chromium 85.0.4183.121]) (See commit [https://github.com/multitheftauto/mtasa-blue/pull/1698 #1698] by '''Jusonex''' and '''Dutchman101''')&lt;br /&gt;
* Update UnRAR from 5.71 to 5.91 ([https://github.com/multitheftauto/mtasa-blue/pull/1606 #1606] by '''patrikjuvonen''')&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
=== 3 New Functions ===&lt;br /&gt;
* Added [[setPlayerScriptDebugLevel]] and [[getPlayerScriptDebugLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/826 #826] by '''knitz12''')&lt;br /&gt;
* Added [[isResourceProtected]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1254 #1254] by '''StrixG''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 10 Bug Fixes &amp;amp; Changes ===&lt;br /&gt;
* Fix [[iprint]] to be able to read and output nil arguments properly ([https://github.com/multitheftauto/mtasa-blue/pull/1064 #1064] by '''TheNormalnij''')&lt;br /&gt;
* Accept team &amp;amp; table of players in [[outputChatBox]] ([https://github.com/multitheftauto/mtasa-blue/pull/1213 #1213] by '''StrixG''')&lt;br /&gt;
* Fix /msg command duplicating when sent by Server Console ([https://github.com/multitheftauto/mtasa-blue/pull/1411 #1411] by '''Dezash''')&lt;br /&gt;
* Make colshapes cloneable ([https://github.com/multitheftauto/mtasa-blue/pull/1214 #1214] by '''StrixG''')&lt;br /&gt;
* Fix double chat messages if player is in team ([https://github.com/multitheftauto/mtasa-blue/pull/1241 #1241] by '''StrixG''' and '''Luxy.c''')&lt;br /&gt;
* Don't queue a resource restart if resource is stopping ([https://github.com/multitheftauto/mtasa-blue/pull/960 #960] by '''StrixG''')&lt;br /&gt;
* Added support for more map attributes ([https://github.com/multitheftauto/mtasa-blue/pull/263 #263] by '''patrikjuvonen''')&lt;br /&gt;
* Fix server-client inconsistency for isElementAttached failure return ([https://github.com/multitheftauto/mtasa-blue/commit/866506d3f6ebe4a0d4d39664cc4e7d7c0cef1a7c 866506d] by '''qaisjp''')&lt;br /&gt;
* Make [[kickPlayer]] accept the Console element as responsiblePlayer ([https://github.com/multitheftauto/mtasa-blue/pull/1427 #1427] by '''qaisjp''')&lt;br /&gt;
* Fix stack overflow when attaching elements in maps ([https://github.com/multitheftauto/mtasa-blue/pull/1663 #1663] by '''tederis''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1 Vendor Update ===&lt;br /&gt;
* Update sqlite from 3.31.1 to 3.32.3 ([https://github.com/multitheftauto/mtasa-blue/pull/1561 #1561] by '''patrikjuvonen''')&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Shared (''Client &amp;amp; Server side'') ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
=== 17 New Functions ===&lt;br /&gt;
* Added [[xmlLoadString]] ([https://github.com/multitheftauto/mtasa-blue/pull/809 #809] by '''Lpsd''')&lt;br /&gt;
* Added request info &amp;amp; abort functions for [[fetchRemote]]/[[callRemote]] ([https://github.com/multitheftauto/mtasa-blue/pull/660 #660] by '''Luxy.c''')&lt;br /&gt;
** [[getRemoteRequests]]&lt;br /&gt;
** [[getRemoteRequestInfo]]&lt;br /&gt;
** [[abortRemoteRequest]]&lt;br /&gt;
* Added functions to manipulate colshapes parameters ([https://github.com/multitheftauto/mtasa-blue/pull/1215 #1215] by '''StrixG''')&lt;br /&gt;
** [[getColShapeRadius]]&lt;br /&gt;
** [[setColShapeRadius]]&lt;br /&gt;
** [[getColShapeSize]]&lt;br /&gt;
** [[setColShapeSize]]&lt;br /&gt;
** [[getColPolygonPoints]]&lt;br /&gt;
** [[getColPolygonPointPosition]]&lt;br /&gt;
** [[setColPolygonPointPosition]]&lt;br /&gt;
** [[addColPolygonPoint]]&lt;br /&gt;
** [[removeColPolygonPoint]]&lt;br /&gt;
* Added [[hasElementData]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1163 #1163] by '''Simi2''')&lt;br /&gt;
* Added element data subscription functionality ([https://github.com/multitheftauto/mtasa-blue/pull/1055 #1055] by '''tederis''') - includes 3 new functions:&lt;br /&gt;
** [[addElementDataSubscriber]]&lt;br /&gt;
** [[removeElementDataSubscriber]]&lt;br /&gt;
** [[hasElementDataSubscriber]]&lt;br /&gt;
** Adds 1 additional parameter to [[setElementData]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1 Deprecation ===&lt;br /&gt;
* Added deprecation message to [[passwordHash]] when using custom salts ([https://github.com/multitheftauto/mtasa-blue/pull/1208 #1208] by '''Luxy.c''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 9 Bug Fixes &amp;amp; Changes ===&lt;br /&gt;
* Added async [[encodeString]]/[[decodeString]] ([https://github.com/multitheftauto/mtasa-blue/pull/1226 #1226] by '''StrixG''')&lt;br /&gt;
* Fix colshape and marker hit detection when attaching ([https://github.com/multitheftauto/mtasa-blue/pull/1327 #1327] by '''Lpsd''')&lt;br /&gt;
* Fix driveby aiming being inverted in some cases ([https://github.com/multitheftauto/mtasa-blue/pull/1442 #1442] by '''Zangomangu''')&lt;br /&gt;
* Added bIncludeWorldSeaLevel and bIncludeOutsideWorldLevel parameters to [[setWaterLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1342 #1342] by '''TheNormalnij''')&lt;br /&gt;
* Added [[outputDebugString]] level 4 to omit certain debug info ([https://github.com/multitheftauto/mtasa-blue/pull/1167 #1167] by '''Addlibs''')&lt;br /&gt;
* Fix incorrect hash capitalisation ([https://github.com/multitheftauto/mtasa-blue/pull/1527 #1527] by '''qaisjp''')&lt;br /&gt;
* Fix debugscript setting to 0 when using invalid characters ([https://github.com/multitheftauto/mtasa-blue/pull/1602 #1602] by '''Unde-R''')&lt;br /&gt;
* Fix privilege escalation ([https://github.com/multitheftauto/mtasa-blue/pull/1627 #1627] by '''ciber96''')&lt;br /&gt;
* Increase Lua integer formatting type from long to long long ([https://github.com/multitheftauto/mtasa-blue/pull/1672 #1672] by '''sbx320''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3 Vendor Updates ===&lt;br /&gt;
* Update curl from 7.68.0 to 7.72.0 ([https://github.com/multitheftauto/mtasa-blue/pull/1562 #1562] by '''patrikjuvonen''')&lt;br /&gt;
* Update cryptopp from 8.1.0 to 8.2.0 ([https://github.com/multitheftauto/mtasa-blue/pull/1637 #1637] by '''StrixG''')&lt;br /&gt;
* Update json-c from 0.13.1 to 0.15 ([https://github.com/multitheftauto/mtasa-blue/pull/1605 #1605] by '''patrikjuvonen''')&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
== Extra information ==&lt;br /&gt;
''More detailed information available on our GitHub repositories:&lt;br /&gt;
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]&lt;br /&gt;
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Changelog]]&lt;br /&gt;
[[Category:Incomplete]]&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientObjectDamage&amp;diff=67373</id>
		<title>OnClientObjectDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientObjectDamage&amp;diff=67373"/>
		<updated>2020-09-03T15:20:59Z</updated>

		<summary type="html">&lt;p&gt;Saint Laurent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
This event is fired before an object gets damaged.&lt;br /&gt;
{{Note|This event is only triggered for objects that are streamed in.}}&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float loss, element attacker&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''loss:''' the health loss caused by the damage. This parameter contains the theoretical loss, which could be less than 0, if you substract it of the current health. If you want to get the real loss, you have to substract the new health of the old health (use a timer for this).&lt;br /&gt;
*'''attacker:''' the vehicle/ped/player who is damaging the object.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the object which was damaged.&lt;br /&gt;
&lt;br /&gt;
==Cancel effect==&lt;br /&gt;
If this event is [[Event system#Canceling|canceled]], the object will not be damaged.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs the theoretical and real loss:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputLoss(loss)&lt;br /&gt;
    local oldHealth = getElementHealth(source)&lt;br /&gt;
    setTimer(function(source)&lt;br /&gt;
        local newHealth = getElementHealth(source)&lt;br /&gt;
        outputChatBox(&amp;quot;Real loss: &amp;quot;..(newHealth-oldHealth))&lt;br /&gt;
        outputChatBox(&amp;quot;Theoretical loss: &amp;quot;..loss)&lt;br /&gt;
    end,100,1,source)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientObjectDamage&amp;quot;, root, outputLoss)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3-9.05086|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client object events===&lt;br /&gt;
{{Client_object_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Saint Laurent</name></author>
	</entry>
</feed>