<?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=Jaysds1</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=Jaysds1"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Jaysds1"/>
	<updated>2026-04-14T20:08:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetVehicleOverrideLights&amp;diff=51190</id>
		<title>SetVehicleOverrideLights</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetVehicleOverrideLights&amp;diff=51190"/>
		<updated>2017-06-04T19:19:25Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: OOP&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function changes the light overriding setting on a vehicle.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setVehicleOverrideLights ( vehicle theVehicle, int value )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[vehicle]]:setOverrideLights|overrideLights|getVehicleOverrideLights}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theVehicle''': The [[vehicle]] you wish to change the override lights setting of.&lt;br /&gt;
*'''value''': A whole number representing the state of the lights:&lt;br /&gt;
** '''0''': No override, lights are set to default.&lt;br /&gt;
** '''1''': Lights are forced off.&lt;br /&gt;
** '''2''': Lights are forced on.&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns ''true'' if the vehicle's lights setting was changed. Otherwise ''false''.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example will toggle the car lights on and off for a player's vehicle by using a &amp;quot;vehiclelights&amp;quot; command.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function consoleVehicleLights ( source )&lt;br /&gt;
 if isPedInVehicle(source) then -- checks is the player in vehicle if yes, then:&lt;br /&gt;
       playerVehicle = getPedOccupiedVehicle ( source )                 -- get the player's vehicle&lt;br /&gt;
       if ( playerVehicle ) then                                        -- if he was in one&lt;br /&gt;
           if ( getVehicleOverrideLights ( playerVehicle ) ~= 2 ) then  -- if the current state isn't 'force on'&lt;br /&gt;
               setVehicleOverrideLights ( playerVehicle, 2 )            -- force the lights on&lt;br /&gt;
           else&lt;br /&gt;
               setVehicleOverrideLights ( playerVehicle, 1 )            -- otherwise, force the lights off&lt;br /&gt;
           end&lt;br /&gt;
       end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;vehiclelights&amp;quot;, consoleVehicleLights )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 2&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example will toggle the car lights on and off for a player's vehicle by using a &amp;quot;vehiclelights&amp;quot; command.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function consoleVehicleLights ()&lt;br /&gt;
 if isPedInVehicle(getLocalPlayer()) then -- checks is the player in vehicle if yes, then: &lt;br /&gt;
       playerVehicle = getPedOccupiedVehicle ( getLocalPlayer() )       -- get the local player's vehicle&lt;br /&gt;
       if ( playerVehicle ) then                                        -- if he was in one&lt;br /&gt;
           if ( getVehicleOverrideLights ( playerVehicle ) ~= 2 ) then  -- if the current state isn't 'force on'&lt;br /&gt;
               setVehicleOverrideLights ( playerVehicle, 2 )            -- force the lights on&lt;br /&gt;
           else&lt;br /&gt;
               setVehicleOverrideLights ( playerVehicle, 1 )            -- otherwise, force the lights off&lt;br /&gt;
           end&lt;br /&gt;
       end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;vehiclelights&amp;quot;, consoleVehicleLights )&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;
{{Vehicle functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetVehicleEngineState&amp;diff=51189</id>
		<title>SetVehicleEngineState</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetVehicleEngineState&amp;diff=51189"/>
		<updated>2017-06-04T19:00:26Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: OOP&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function turns a vehicle's engine on or off. Note that the engine will always be turned on when someone enters the driver seat, unless you override that behaviour with scripts.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setVehicleEngineState ( vehicle theVehicle, bool engineState )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[vehicle]]:setEngineState|engineState|getVehicleEngineState}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theVehicle''': The [[vehicle]] you wish to change the engine state of.&lt;br /&gt;
*'''engineState''': A boolean value representing whether the engine will be turned on (''true'') or off (''false'').&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the vehicle's engine state was successfully changed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Serverside example&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example will turn off a vehicle's engine when the driver gets out of the car.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function turnEngineOff ( theVehicle, leftSeat, jackerPlayer )&lt;br /&gt;
    -- if it's the driver who got out, and he was not jacked,&lt;br /&gt;
    if leftSeat == 0 and not jackerPlayer then&lt;br /&gt;
        -- turn off the engine&lt;br /&gt;
        setVehicleEngineState ( theVehicle, false )&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
-- add 'turnEngineOff' as a handler for &amp;quot;onPlayerExitVehicle&amp;quot;&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerVehicleExit&amp;quot;, getRootElement ( ), turnEngineOff )&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;
{{Vehicle functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Authorized_Serial_Account_Protection&amp;diff=50271</id>
		<title>Authorized Serial Account Protection</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Authorized_Serial_Account_Protection&amp;diff=50271"/>
		<updated>2017-01-03T00:48:53Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: This should be better for users looking for the doc first, faqs are always at the bottom.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Main documentation=&lt;br /&gt;
==Introduction==&lt;br /&gt;
New from 1.5.3, Authorized Serial Account Protection provides a way to prevent password reuse causing damage to your server.&lt;br /&gt;
==How to enable==&lt;br /&gt;
Open '''mtaserver.conf''' and find ''&amp;lt;auth_serial_groups&amp;gt;'' and change to below.&lt;br /&gt;
(If ''&amp;lt;auth_serial_groups&amp;gt;'' does not exist, then add it)&lt;br /&gt;
 &amp;lt;auth_serial_groups&amp;gt;Admin&amp;lt;/auth_serial_groups&amp;gt;&lt;br /&gt;
If you wish to protect other ACL groups, then add them separated by commas, e.g.:&lt;br /&gt;
 &amp;lt;auth_serial_groups&amp;gt;Admin,SuperModerator&amp;lt;/auth_serial_groups&amp;gt;&lt;br /&gt;
==How to disable==&lt;br /&gt;
Open '''mtaserver.conf''' and find ''&amp;lt;auth_serial_groups&amp;gt;'' and change to below&lt;br /&gt;
 &amp;lt;auth_serial_groups&amp;gt;&amp;lt;/auth_serial_enabled&amp;gt;&lt;br /&gt;
'''Note''': Authorized Serial Account Protection helps prevent your server from getting hacked. If there is a chance any of your admins are using the same password on other servers, then do not disable this feature.&lt;br /&gt;
==How to use==&lt;br /&gt;
To allow the last attempted serial for an account, enter the following command in the server console:&lt;br /&gt;
 authserial &amp;lt;account_name&amp;gt;&lt;br /&gt;
To view authorized serials for an account:&lt;br /&gt;
 authserial &amp;lt;account_name&amp;gt; list&lt;br /&gt;
To remove the newest authorized serial for an account:&lt;br /&gt;
 authserial &amp;lt;account_name&amp;gt; remove&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=FAQ=&lt;br /&gt;
==Help, I can't login (game)==&lt;br /&gt;
To allow the last attempted serial, use the '''authserial''' command in the server console.&amp;lt;br/&amp;gt;&lt;br /&gt;
For example, to allow the last attempted serial for account ''MrBob'', enter the following command in the server console:&lt;br /&gt;
 authserial MrBob&lt;br /&gt;
==Help, I can't login (http)==&lt;br /&gt;
To login to the HTTP web interface, the IP has to be authorized.&lt;br /&gt;
To authorized an IP:&lt;br /&gt;
* Join the MTA server&lt;br /&gt;
* Login to the account&lt;br /&gt;
* Disconnect from MTA server (optional)&lt;br /&gt;
* Login via HTTP&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiComboBoxClear&amp;diff=47908</id>
		<title>GuiComboBoxClear</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiComboBoxClear&amp;diff=47908"/>
		<updated>2016-06-25T16:13:15Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function removes all the items from a combobox.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool guiComboBoxClear ( element comboBox )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''comboBox:''' The combobox element to be cleared&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the combobox element is valid and has been cleared successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a combo box with all server vehicles on it, with a command to clear the combo box.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, resourceRoot,&lt;br /&gt;
	function ( )&lt;br /&gt;
		vehiclesComboBox = guiCreateComboBox ( 400, 100, 200, 5 * #getElementsByType ( &amp;quot;vehicle&amp;quot; ), &amp;quot;&amp;quot;, false ) -- We create a combo box.&lt;br /&gt;
		for index, vehicle in ipairs ( getElementsByType ( &amp;quot;vehicle&amp;quot; ) ) do -- We loop through all vehicles.&lt;br /&gt;
			guiComboBoxAddItem ( vehiclesComboBox, getVehicleName ( vehicle ) ) -- We add the vehicle name to our combo box.&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
addCommandHandler ( &amp;quot;clear&amp;quot;,&lt;br /&gt;
	function ( )&lt;br /&gt;
		guiComboBoxClear ( vehiclesComboBox ) -- We clear our combo box removing all vehicles.&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Jaysds1&amp;diff=46530</id>
		<title>User:Jaysds1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Jaysds1&amp;diff=46530"/>
		<updated>2016-02-01T04:34:53Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hey you,&lt;br /&gt;
&lt;br /&gt;
Want to know something about me?&lt;br /&gt;
I do my own side projects just to make a living... I know what you're thinking, how right?&lt;br /&gt;
&lt;br /&gt;
Just check them out and you'll see...&lt;br /&gt;
&lt;br /&gt;
[http://jquonprojects.tk JQuonProjects]&lt;br /&gt;
&lt;br /&gt;
[http://jquonsignatures.tk JQuon Signatures]&lt;br /&gt;
&lt;br /&gt;
[https://wordsexperiments.tk Words Experiments]&lt;br /&gt;
&lt;br /&gt;
[https://yours-todo.tk Yours ToDo]&lt;br /&gt;
&lt;br /&gt;
[http://forum.mtasa.com/memberlist.php?mode=viewprofile&amp;amp;u=56218 MTA Forums]&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Jaysds1&amp;diff=43859</id>
		<title>User:Jaysds1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Jaysds1&amp;diff=43859"/>
		<updated>2015-01-03T03:21:26Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hey, I work for J World 137 and I'm planning major things for MTA.&lt;br /&gt;
&lt;br /&gt;
If you have any problems or questions with MTA and/or scripting, contact me at:&lt;br /&gt;
&lt;br /&gt;
[http://forum.mtasa.com/memberlist.php?mode=viewprofile&amp;amp;u=56218 MTA Forums]&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Archive&amp;diff=39261</id>
		<title>Archive</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Archive&amp;diff=39261"/>
		<updated>2014-04-07T05:27:53Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: More secure&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;/*border: 1px solid #D8D8D8;*/ padding: 5px; height: 100%; text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
'''Multi Theft Auto Archive'''&lt;br /&gt;
&lt;br /&gt;
[[File:MTALogo_8ball.png|100px|link=Archive]]&lt;br /&gt;
&lt;br /&gt;
[ Eliminating the need to play with yourself since [[Version History#List_of_.28released.29_versions|2003]] ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Multi Theft Auto 0.5&amp;lt;/h3&amp;gt;{{Important Note|MTA does '''not''' contain any viruses, malware, adware or spyware. It is flagged as a '''false positive''' because of the way the executable is packed. But make sure you download it from a safe place (i.e. the MTA website or the link below)! }}&amp;lt;!-- The main download location for 0.5r2 seems down (http://files.mtasa.com/apps/0.5r2/mta05r2_full_installer.exe), replaced with Towncivilian's link. --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #FFEEAA; border: 1px solid #FFCD19;&amp;quot;&amp;gt;[[File:Go-down.png|link=http://hosting.jworld137.com/files/mta05r2_full_installer.exe]] ''' [https://mega.co.nz/#!DFNz2JSY!3-Yc3y0ek40HG7MTrH6kxuphmojlzqtBrCeQ4feM84U Download Multi Theft Auto 0.5r2]'''&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[MTA 0.5r2 Known Issues|Known Issues]]&lt;br /&gt;
* [[MTA 0.5 Installation|Installation Manual]]&lt;br /&gt;
* Windows Server: [https://mega.co.nz/#!DFNz2JSY!3-Yc3y0ek40HG7MTrH6kxuphmojlzqtBrCeQ4feM84U Installer] - [https://mega.co.nz/#!WIVERLZa!XJAmm5pWgBc-D1VswWIfVdaQcEVEQ8siuWL4YKoxTIw Zipped]&lt;br /&gt;
* Linux Server: [https://docs.google.com/file/d/0B5mpmm482r0VY3dGckxaQldXZE0/edit?pli=1 tar.gz] [https://mega.co.nz/#!2EMyXILI!TUiqaxmHigIEW-QwZR7XrTLVLWk6NtHrukLLe9HC73s Backup tar.gz]&lt;br /&gt;
* [https://forum.mtasa.com/viewforum.php?f=136 Forum]&lt;br /&gt;
* IRC: [irc://irc.gtanet.com/#mta3vc irc.gtanet.com #mta3vc]&lt;br /&gt;
=== Gamemodes ===&lt;br /&gt;
* [[MTA:VC Deathmatch Gamemode|Vice City Deathmatch]]&lt;br /&gt;
* [[MTA:VC Stunt Gamemode|Vice City Stunt]]&lt;br /&gt;
* [[GTA3 SSV|GTA3 Shoreside Vale]]&lt;br /&gt;
* [[GTA3 Portland]]&lt;br /&gt;
* [[GTA3 Staunton]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 85%; padding-top: 10px;&amp;quot;&amp;gt;MTA 0.5 works with GTA III and Vice City.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;MTA: San Andreas Race&amp;lt;/h3&amp;gt;&lt;br /&gt;
{{Warning|MTA: San Andreas Race is not supported. It has been replaced with [[Upgrading from MTA:Race|MTA: San Andreas {{Current Version|full}}]] and the [[Resource:Race|race resource]].}}&lt;br /&gt;
* [http://files.mtasa.com/apps/1.0/race/ Race File Archive]&lt;br /&gt;
* [[MTA:SA Race FAQ|Frequently Asked Questions (FAQ)]]&lt;br /&gt;
* [[Blue]] - Information about the ''Blue Core'' for race.&lt;br /&gt;
* [[MTA:SA Race-Windows Server Guide|Windows Server Guide]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 85%; padding-top: 10px;&amp;quot;&amp;gt;MTA:San Andreas Race only works on Windows XP&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;[[Multi Theft Auto]] General&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Press Coverage]]&lt;br /&gt;
* [[Version History]]&lt;br /&gt;
* [[Timeline]] - 2003-2006&lt;br /&gt;
* [http://files.mtasa.com/web/ Archived Websites]&lt;br /&gt;
* [http://files.mtasa.com/ File Archive]&lt;br /&gt;
* [[MTA Vault]] - Screenshots of previous versions&lt;br /&gt;
* [[Previous-car-method|Previous Car Method]] - Explanation how vehicle sync worked in GTA3:MTA 0.1a and 0.2a&lt;br /&gt;
* [[Car-Killers|Car Killers]] - Explanation of car killing&lt;br /&gt;
* [[MTA Addons]] - Various MTA addons&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Multi Theft Auto Community&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Dictionary]]&lt;br /&gt;
* [https://forum.mtasa.com/viewforum.php?f=81 Forum Archive]&lt;br /&gt;
* [http://files.mtasa.com/web/gta3mta_irc_stats/ Early #gta3mta IRC stats]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Scripting / MTA:mA&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[MTA:mA|MTA:mA History]]&lt;br /&gt;
** [http://files.mtasa.com/apps/tools/MTAmA/MTAmA324.zip Download MTA:mA 3.24 for MTA 0.5]&lt;br /&gt;
** &amp;lt;span style=&amp;quot;text-decoration: line-through;&amp;quot;&amp;gt;[http://files.mtasa.com/apps/tools/MTAmA/MTAmA4.zip Download MTA:mA 4.00 for MTA: San Andreas Race]&amp;lt;/span&amp;gt; (Not Recommended)&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 85%; padding-top: 10px;&amp;quot;&amp;gt;MTA:mA requires [http://www.mirc.com/ mIRC].&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;MTA: San Andreas (Deathmatch) 1.x.x&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[:Category:Deprecated]] - Old and deprecated (LUA) functions and events.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;gallery perrow=5 caption=&amp;quot;Screenshots&amp;quot;&amp;gt;&lt;br /&gt;
File:Am4.jpg|GTA3:AM Vehicle Sync&lt;br /&gt;
File:3b3.jpg|GTA3:MTA&amp;lt;br&amp;gt;Testing of the actor system&lt;br /&gt;
File:Vc0.1-1.jpg|MTA:VC 0.1&lt;br /&gt;
File:Vc0.1-3.jpg|MTA:VC 0.1&lt;br /&gt;
File:800px-Robber.jpg|MTA 0.5 VC Robber spawn&lt;br /&gt;
File:GTA3 SSV CopSpawn.jpg|MTA 0.5 Cop Spawn on GTA3's Shoreside Vale&lt;br /&gt;
File:SSV_Scramble.png|MTA 0.5 Mini mission on GTA3's Shoreside Vale&lt;br /&gt;
File:MTASA-Race-Racing.jpg|Racing in MTA: San Andreas Race&lt;br /&gt;
File:MTASA-Race-Mainmenu.png|The main menu of MTA: San Andreas Race&lt;br /&gt;
File:Sa-airrace.jpg|Airplane race in MTA: San Andreas Race&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules&amp;diff=39260</id>
		<title>Modules</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules&amp;diff=39260"/>
		<updated>2014-04-07T05:21:26Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Modules SDK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Modules are extensions for Multi Theft Auto's Lua core, allowing the integration and use of custom Lua functions that have been written in C++, and compiled as a DLL or SO file. Modules are commonly used to create functions for such purposes that Multi Theft Auto lacks, such as sockets. All modules listed here are not distributed with Multi Theft Auto, and must be manually installed.&lt;br /&gt;
&lt;br /&gt;
==Modules list==&lt;br /&gt;
You can view a list of all the documented modules in this wiki [[:Category:Modules|here]].&lt;br /&gt;
&lt;br /&gt;
==Modules SDK==&lt;br /&gt;
To be able to create your own modules, you must use the Modules SDK. You can download it from one of the links below - choose a link in accordance with your server's operating system.&lt;br /&gt;
&lt;br /&gt;
* Linux&lt;br /&gt;
** [http://files.mtasa.com/apps/1.0/dm/ml_devkit.tar.gz Official]&lt;br /&gt;
*** (Delete the .d files, and add #include &amp;lt;cstring&amp;gt; to Common.h)&lt;br /&gt;
**** (On 64bit add -m32 to CPPFLAGS and LDFLAGS lines in Makefile)&lt;br /&gt;
* Microsoft Windows&lt;br /&gt;
** [http://www.mediafire.com/?b8b3asgegn0xkm4 Mirror (Mediafire)]&lt;br /&gt;
** [https://mega.co.nz/#!nBNGUCgQ!3AHEJt684Heu9bN5de8xwAQ3h-qq5-V6fjUeU7rj5hI Mirror (MEGA)]&lt;br /&gt;
&lt;br /&gt;
===SDK Functions===&lt;br /&gt;
*Currently in there:&lt;br /&gt;
**Base:&lt;br /&gt;
***HelloWorld&lt;br /&gt;
**MySQL&lt;br /&gt;
***MySQLCreate&lt;br /&gt;
***MySQLOpen&lt;br /&gt;
***MySQLDestroy&lt;br /&gt;
***MySQLQuery&lt;br /&gt;
***MySQLSafeString&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;br /&gt;
[[Category:Incomplete]]&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[pt-br:Módulos]]&lt;br /&gt;
[[ru:Modules]]&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Archive&amp;diff=39250</id>
		<title>Archive</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Archive&amp;diff=39250"/>
		<updated>2014-04-05T04:07:12Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;/*border: 1px solid #D8D8D8;*/ padding: 5px; height: 100%; text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
'''Multi Theft Auto Archive'''&lt;br /&gt;
&lt;br /&gt;
[[File:MTALogo_8ball.png|100px|link=Archive]]&lt;br /&gt;
&lt;br /&gt;
[ Eliminating the need to play with yourself since [[Version History#List_of_.28released.29_versions|2003]] ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Multi Theft Auto 0.5&amp;lt;/h3&amp;gt;{{Important Note|MTA does '''not''' contain any viruses, malware, adware or spyware. It is flagged as a '''false positive''' because of the way the executable is packed. But make sure you download it from a safe place (i.e. the MTA website or the link below)! }}&amp;lt;!-- The main download location for 0.5r2 seems down (http://files.mtasa.com/apps/0.5r2/mta05r2_full_installer.exe), replaced with Towncivilian's link. --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #FFEEAA; border: 1px solid #FFCD19;&amp;quot;&amp;gt;[[File:Go-down.png|link=http://hosting.jworld137.com/files/mta05r2_full_installer.exe]] ''' [https://mega.co.nz/#!DFNz2JSY!3-Yc3y0ek40HG7MTrH6kxuphmojlzqtBrCeQ4feM84U Download Multi Theft Auto 0.5r2]'''&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[MTA 0.5r2 Known Issues|Known Issues]]&lt;br /&gt;
* [[MTA 0.5 Installation|Installation Manual]]&lt;br /&gt;
* Windows Server: [https://mega.co.nz/#!DFNz2JSY!3-Yc3y0ek40HG7MTrH6kxuphmojlzqtBrCeQ4feM84U Installer] - [https://mega.co.nz/#!WIVERLZa!XJAmm5pWgBc-D1VswWIfVdaQcEVEQ8siuWL4YKoxTIw Zipped]&lt;br /&gt;
* Linux Server: [https://docs.google.com/file/d/0B5mpmm482r0VY3dGckxaQldXZE0/edit?pli=1 tar.gz] [https://mega.co.nz/#!2EMyXILI!TUiqaxmHigIEW-QwZR7XrTLVLWk6NtHrukLLe9HC73s Backup tar.gz]&lt;br /&gt;
* [http://forum.mtasa.com/viewforum.php?f=136 Forum]&lt;br /&gt;
* IRC: [irc://irc.gtanet.com/#mta3vc irc.gtanet.com #mta3vc]&lt;br /&gt;
=== Gamemodes ===&lt;br /&gt;
* [[MTA:VC Deathmatch Gamemode|Vice City Deathmatch]]&lt;br /&gt;
* [[MTA:VC Stunt Gamemode|Vice City Stunt]]&lt;br /&gt;
* [[GTA3 SSV|GTA3 Shoreside Vale]]&lt;br /&gt;
* [[GTA3 Portland]]&lt;br /&gt;
* [[GTA3 Staunton]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 85%; padding-top: 10px;&amp;quot;&amp;gt;MTA 0.5 works with GTA III and Vice City.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;MTA: San Andreas Race&amp;lt;/h3&amp;gt;&lt;br /&gt;
{{Warning|MTA: San Andreas Race is not supported. It has been replaced with [[Upgrading from MTA:Race|MTA: San Andreas {{Current Version|full}}]] and the [[Resource:Race|race resource]].}}&lt;br /&gt;
* [http://files.mtasa.com/apps/1.0/race/ Race File Archive]&lt;br /&gt;
* [[MTA:SA Race FAQ|Frequently Asked Questions (FAQ)]]&lt;br /&gt;
* [[Blue]] - Information about the ''Blue Core'' for race.&lt;br /&gt;
* [[MTA:SA Race-Windows Server Guide|Windows Server Guide]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 85%; padding-top: 10px;&amp;quot;&amp;gt;MTA:San Andreas Race only works on Windows XP&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;[[Multi Theft Auto]] General&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Press Coverage]]&lt;br /&gt;
* [[Version History]]&lt;br /&gt;
* [[Timeline]] - 2003-2006&lt;br /&gt;
* [http://files.mtasa.com/web/ Archived Websites]&lt;br /&gt;
* [http://files.mtasa.com/ File Archive]&lt;br /&gt;
* [[MTA Vault]] - Screenshots of previous versions&lt;br /&gt;
* [[Previous-car-method|Previous Car Method]] - Explanation how vehicle sync worked in GTA3:MTA 0.1a and 0.2a&lt;br /&gt;
* [[Car-Killers|Car Killers]] - Explanation of car killing&lt;br /&gt;
* [[MTA Addons]] - Various MTA addons&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Multi Theft Auto Community&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Dictionary]]&lt;br /&gt;
* [http://forum.mtasa.com/viewforum.php?f=81 Forum Archive]&lt;br /&gt;
* [http://files.mtasa.com/web/gta3mta_irc_stats/ Early #gta3mta IRC stats]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Scripting / MTA:mA&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[MTA:mA|MTA:mA History]]&lt;br /&gt;
** [http://files.mtasa.com/apps/tools/MTAmA/MTAmA324.zip Download MTA:mA 3.24 for MTA 0.5]&lt;br /&gt;
** &amp;lt;span style=&amp;quot;text-decoration: line-through;&amp;quot;&amp;gt;[http://files.mtasa.com/apps/tools/MTAmA/MTAmA4.zip Download MTA:mA 4.00 for MTA: San Andreas Race]&amp;lt;/span&amp;gt; (Not Recommended)&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 85%; padding-top: 10px;&amp;quot;&amp;gt;MTA:mA requires [http://www.mirc.com/ mIRC].&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;MTA: San Andreas (Deathmatch) 1.x.x&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[:Category:Deprecated]] - Old and deprecated (LUA) functions and events.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;gallery perrow=5 caption=&amp;quot;Screenshots&amp;quot;&amp;gt;&lt;br /&gt;
File:Am4.jpg|GTA3:AM Vehicle Sync&lt;br /&gt;
File:3b3.jpg|GTA3:MTA&amp;lt;br&amp;gt;Testing of the actor system&lt;br /&gt;
File:Vc0.1-1.jpg|MTA:VC 0.1&lt;br /&gt;
File:Vc0.1-3.jpg|MTA:VC 0.1&lt;br /&gt;
File:800px-Robber.jpg|MTA 0.5 VC Robber spawn&lt;br /&gt;
File:GTA3 SSV CopSpawn.jpg|MTA 0.5 Cop Spawn on GTA3's Shoreside Vale&lt;br /&gt;
File:SSV_Scramble.png|MTA 0.5 Mini mission on GTA3's Shoreside Vale&lt;br /&gt;
File:MTASA-Race-Racing.jpg|Racing in MTA: San Andreas Race&lt;br /&gt;
File:MTASA-Race-Mainmenu.png|The main menu of MTA: San Andreas Race&lt;br /&gt;
File:Sa-airrace.jpg|Airplane race in MTA: San Andreas Race&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Archive&amp;diff=39249</id>
		<title>Archive</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Archive&amp;diff=39249"/>
		<updated>2014-04-05T04:04:56Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Fixed all the MTA 0.5r2 broken links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;/*border: 1px solid #D8D8D8;*/ padding: 5px; height: 100%; text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
'''Multi Theft Auto Archive'''&lt;br /&gt;
&lt;br /&gt;
[[File:MTALogo_8ball.png|100px|link=Archive]]&lt;br /&gt;
&lt;br /&gt;
[ Eliminating the need to play with yourself since [[Version History#List_of_.28released.29_versions|2003]] ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Multi Theft Auto 0.5&amp;lt;/h3&amp;gt;{{Important Note|MTA does '''not''' contain any viruses, malware, adware or spyware. It is flagged as a '''false positive''' because of the way the executable is packed. But make sure you download it from a safe place (i.e. the MTA website or the link below)! }}&amp;lt;!-- The main download location for 0.5r2 seems down (http://files.mtasa.com/apps/0.5r2/mta05r2_full_installer.exe), replaced with Towncivilian's link. --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #FFEEAA; border: 1px solid #FFCD19;&amp;quot;&amp;gt;[[File:Go-down.png|link=http://hosting.jworld137.com/files/mta05r2_full_installer.exe]] ''' [https://mega.co.nz/#!DFNz2JSY!3-Yc3y0ek40HG7MTrH6kxuphmojlzqtBrCeQ4feM84U Download Multi Theft Auto 0.5r2]'''&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[MTA 0.5r2 Known Issues|Known Issues]]&lt;br /&gt;
* [[MTA 0.5 Installation|Installation Manual]]&lt;br /&gt;
* Windows Server: [https://mega.co.nz/#!DFNz2JSY!3-Yc3y0ek40HG7MTrH6kxuphmojlzqtBrCeQ4feM84U Installer] - [https://mega.co.nz/#!WIVERLZa!XJAmm5pWgBc-D1VswWIfVdaQcEVEQ8siuWL4YKoxTIw Zipped]&lt;br /&gt;
* Linux Server: [https://docs.google.com/file/d/0B5mpmm482r0VY3dGckxaQldXZE0/edit?pli=1 tar.gz]&lt;br /&gt;
* [http://forum.mtasa.com/viewforum.php?f=136 Forum]&lt;br /&gt;
* IRC: [irc://irc.gtanet.com/#mta3vc irc.gtanet.com #mta3vc]&lt;br /&gt;
=== Gamemodes ===&lt;br /&gt;
* [[MTA:VC Deathmatch Gamemode|Vice City Deathmatch]]&lt;br /&gt;
* [[MTA:VC Stunt Gamemode|Vice City Stunt]]&lt;br /&gt;
* [[GTA3 SSV|GTA3 Shoreside Vale]]&lt;br /&gt;
* [[GTA3 Portland]]&lt;br /&gt;
* [[GTA3 Staunton]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 85%; padding-top: 10px;&amp;quot;&amp;gt;MTA 0.5 works with GTA III and Vice City.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;MTA: San Andreas Race&amp;lt;/h3&amp;gt;&lt;br /&gt;
{{Warning|MTA: San Andreas Race is not supported. It has been replaced with [[Upgrading from MTA:Race|MTA: San Andreas {{Current Version|full}}]] and the [[Resource:Race|race resource]].}}&lt;br /&gt;
* [http://files.mtasa.com/apps/1.0/race/ Race File Archive]&lt;br /&gt;
* [[MTA:SA Race FAQ|Frequently Asked Questions (FAQ)]]&lt;br /&gt;
* [[Blue]] - Information about the ''Blue Core'' for race.&lt;br /&gt;
* [[MTA:SA Race-Windows Server Guide|Windows Server Guide]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 85%; padding-top: 10px;&amp;quot;&amp;gt;MTA:San Andreas Race only works on Windows XP&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;[[Multi Theft Auto]] General&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Press Coverage]]&lt;br /&gt;
* [[Version History]]&lt;br /&gt;
* [[Timeline]] - 2003-2006&lt;br /&gt;
* [http://files.mtasa.com/web/ Archived Websites]&lt;br /&gt;
* [http://files.mtasa.com/ File Archive]&lt;br /&gt;
* [[MTA Vault]] - Screenshots of previous versions&lt;br /&gt;
* [[Previous-car-method|Previous Car Method]] - Explanation how vehicle sync worked in GTA3:MTA 0.1a and 0.2a&lt;br /&gt;
* [[Car-Killers|Car Killers]] - Explanation of car killing&lt;br /&gt;
* [[MTA Addons]] - Various MTA addons&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Multi Theft Auto Community&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Dictionary]]&lt;br /&gt;
* [http://forum.mtasa.com/viewforum.php?f=81 Forum Archive]&lt;br /&gt;
* [http://files.mtasa.com/web/gta3mta_irc_stats/ Early #gta3mta IRC stats]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Scripting / MTA:mA&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[MTA:mA|MTA:mA History]]&lt;br /&gt;
** [http://files.mtasa.com/apps/tools/MTAmA/MTAmA324.zip Download MTA:mA 3.24 for MTA 0.5]&lt;br /&gt;
** &amp;lt;span style=&amp;quot;text-decoration: line-through;&amp;quot;&amp;gt;[http://files.mtasa.com/apps/tools/MTAmA/MTAmA4.zip Download MTA:mA 4.00 for MTA: San Andreas Race]&amp;lt;/span&amp;gt; (Not Recommended)&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 85%; padding-top: 10px;&amp;quot;&amp;gt;MTA:mA requires [http://www.mirc.com/ mIRC].&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;MTA: San Andreas (Deathmatch) 1.x.x&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[:Category:Deprecated]] - Old and deprecated (LUA) functions and events.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;gallery perrow=5 caption=&amp;quot;Screenshots&amp;quot;&amp;gt;&lt;br /&gt;
File:Am4.jpg|GTA3:AM Vehicle Sync&lt;br /&gt;
File:3b3.jpg|GTA3:MTA&amp;lt;br&amp;gt;Testing of the actor system&lt;br /&gt;
File:Vc0.1-1.jpg|MTA:VC 0.1&lt;br /&gt;
File:Vc0.1-3.jpg|MTA:VC 0.1&lt;br /&gt;
File:800px-Robber.jpg|MTA 0.5 VC Robber spawn&lt;br /&gt;
File:GTA3 SSV CopSpawn.jpg|MTA 0.5 Cop Spawn on GTA3's Shoreside Vale&lt;br /&gt;
File:SSV_Scramble.png|MTA 0.5 Mini mission on GTA3's Shoreside Vale&lt;br /&gt;
File:MTASA-Race-Racing.jpg|Racing in MTA: San Andreas Race&lt;br /&gt;
File:MTASA-Race-Mainmenu.png|The main menu of MTA: San Andreas Race&lt;br /&gt;
File:Sa-airrace.jpg|Airplane race in MTA: San Andreas Race&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules&amp;diff=39191</id>
		<title>Modules</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules&amp;diff=39191"/>
		<updated>2014-03-30T14:59:17Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Modules SDK */  Removed my link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Modules are extensions for Multi Theft Auto's Lua core, allowing the integration and use of custom Lua functions that have been written in C++, and compiled as a DLL or SO file. Modules are commonly used to create functions for such purposes that Multi Theft Auto lacks, such as sockets. All modules listed here are not distributed with Multi Theft Auto, and must be manually installed.&lt;br /&gt;
&lt;br /&gt;
==Modules list==&lt;br /&gt;
You can view a list of all the documented modules in this wiki [[:Category:Modules|here]].&lt;br /&gt;
&lt;br /&gt;
==Modules SDK==&lt;br /&gt;
To be able to create your own modules, you must use the Modules SDK. You can download it from one of the links below - choose a link in accordance with your server's operating system.&lt;br /&gt;
&lt;br /&gt;
* Linux&lt;br /&gt;
** [http://files.mtasa.com/apps/1.0/dm/ml_devkit.tar.gz Official]&lt;br /&gt;
*** (Delete the .d files, and add #include &amp;lt;cstring&amp;gt; to Common.h)&lt;br /&gt;
**** (On 64bit add -m32 to CPPFLAGS and LDFLAGS lines in Makefile)&lt;br /&gt;
* Microsoft Windows&lt;br /&gt;
** [http://www.mediafire.com/?b8b3asgegn0xkm4 Mirror (Mediafire)]&lt;br /&gt;
&lt;br /&gt;
===SDK Functions===&lt;br /&gt;
*Currently in there:&lt;br /&gt;
**Base:&lt;br /&gt;
***HelloWorld&lt;br /&gt;
**MySQL&lt;br /&gt;
***MySQLCreate&lt;br /&gt;
***MySQLOpen&lt;br /&gt;
***MySQLDestroy&lt;br /&gt;
***MySQLQuery&lt;br /&gt;
***MySQLSafeString&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;br /&gt;
[[Category:Incomplete]]&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[pt-br:Módulos]]&lt;br /&gt;
[[ru:Modules]]&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxDrawText&amp;diff=38643</id>
		<title>DxDrawText</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxDrawText&amp;diff=38643"/>
		<updated>2014-01-25T15:15:23Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */ This function is client-sided already, no need for the section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}} &lt;br /&gt;
&lt;br /&gt;
Draws a string of text on the screen for one frame. In order for the text to stay visible continuously, you need to call this function with the same parameters on each frame update (see [[onClientRender]]).&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool dxDrawText ( string text, float left, float top [, float right=left, float bottom=top, int color=white, &lt;br /&gt;
                  float scale=1, mixed font=&amp;quot;default&amp;quot;, string alignX=&amp;quot;left&amp;quot;, string alignY=&amp;quot;top&amp;quot;,&lt;br /&gt;
                  bool clip=false, bool wordBreak=false, bool postGUI=false,&lt;br /&gt;
                  bool colorCoded=false, bool subPixelPositioning=false ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''text:''' the text to draw&lt;br /&gt;
*'''left:''' the absolute X coordinate of the top left corner of the text&lt;br /&gt;
*'''top:''' the absolute Y coordinate of the top left corner of the text&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''right:''' the absolute X coordinate of the right side of the text bounding box. Used for text aligning, clipping and word breaking.&lt;br /&gt;
*'''bottom:''' the absolute Y coordinate of the bottom side of the text bounding box. Used for text aligning, clipping and word breaking.&lt;br /&gt;
*'''color:''' the color of the text, a value produced by [[tocolor]] or 0xAARRGGBB (AA = alpha, RR = red, GG = green, BB = blue).&lt;br /&gt;
*'''scale:''' the size of the text.{{New feature|3.0110|1.1|'''scale:''' can (optionally) be specified as two floats. i.e. '''scaleX, scaleY'''}}&lt;br /&gt;
*'''font:''' Either a custom [[DX font]] element or the name of a built-in DX font:&lt;br /&gt;
{{DxFonts}}&lt;br /&gt;
*'''alignX:''' horizontal alignment of the text within the bounding box. Can be '''&amp;quot;left&amp;quot;''', '''&amp;quot;center&amp;quot;''' or '''&amp;quot;right&amp;quot;'''.&lt;br /&gt;
*'''alignY:''' vertical alignment of the text within the bounding box. Can be '''&amp;quot;top&amp;quot;''', '''&amp;quot;center&amp;quot;''' or '''&amp;quot;bottom&amp;quot;'''.&lt;br /&gt;
*'''clip:''' if set to ''true'', the parts of the text that don't fit within the bounding box will be cut off.&lt;br /&gt;
*'''wordBreak:''' if set to ''true'', the text will wrap to a new line whenever it reaches the right side of the bounding box. If ''false'', the text will always be completely on one line.&lt;br /&gt;
* '''postGUI:''' A bool representing whether the text should be drawn on top of or behind any ingame GUI (rendered by CEGUI).&lt;br /&gt;
{{New_feature|3.0131|1.3.1|&lt;br /&gt;
*'''colorCoded:''' Set to true to enable embedded #FFFFFF color codes. '''Note: clip and wordBreak are forced false if this is set.'''&lt;br /&gt;
*'''subPixelPositioning:''' A bool representing whether the text can be positioned sub-pixel-ly. Looks nicer for moving/scaling animations.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example code will add the current zone name in the lower left corner of the players' screens.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize ( ) -- Get the screen resolution (width and height)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function createText ( )&lt;br /&gt;
    local playerX, playerY, playerZ = getElementPosition ( localPlayer )       -- Get our player's coordinates.&lt;br /&gt;
    local playerZoneName = getZoneName ( playerX, playerY, playerZ )          -- Get name of the zone the player is in.&lt;br /&gt;
&lt;br /&gt;
    -- Draw zone name text's shadow.&lt;br /&gt;
    dxDrawText ( playerZoneName, 44, screenHeight - 41, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1.02, &amp;quot;pricedown&amp;quot; )&lt;br /&gt;
    -- Draw zone name text.&lt;br /&gt;
    dxDrawText ( playerZoneName, 44, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, &amp;quot;pricedown&amp;quot; ) &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function HandleTheRendering ( )&lt;br /&gt;
    addEventHandler ( &amp;quot;onClientRender&amp;quot;, root, createText ) -- keep the text visible with onClientRender.&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, resourceRoot, HandleTheRendering )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.0-9.03986|Added colorCoded and subPixelPositioning arguments}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Drawing_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxDrawImage&amp;diff=38639</id>
		<title>DxDrawImage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxDrawImage&amp;diff=38639"/>
		<updated>2014-01-23T18:05:44Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */ This function is client-sided already, no need for the section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}} &lt;br /&gt;
&lt;br /&gt;
Draws an image on the screen for a single frame. In order for the image to stay visible continuously, you need to call this function with the same parameters on each frame update (see [[onClientRender]]).&amp;lt;br/&amp;gt;&lt;br /&gt;
Image files should ideally have dimensions that are a power of two, to prevent possible blurring.&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Power of two: 2px, 4px, 8px, 16px, 32px, 64px, 128px, 256px, 512px, 1024px...&amp;lt;/b&amp;gt;&lt;br /&gt;
{{Note|To help prevent edge artifacts when drawing textures, set '''textureEdge''' to '''&amp;quot;clamp&amp;quot;''' when calling [[dxCreateTexture]]}}&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool dxDrawImage ( float posX, float posY, float width, float height, mixed image [, float rotation = 0, float rotationCenterOffsetX = 0, &lt;br /&gt;
float rotationCenterOffsetY = 0, int color = tocolor(255,255,255), bool postGUI = false ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''posX:''' the absolute X coordinate of the top left corner of the image&lt;br /&gt;
*'''posY:''' the absolute Y coordinate of the top left corner of the image&lt;br /&gt;
*'''width:''' the absolute width of the image&lt;br /&gt;
*'''height:''' the absolute height of the image&lt;br /&gt;
*'''image:''' Either a [[material]] element or a [[filepath]] of the image which is going to be drawn. (.dds images are also supported). Image files should ideally have dimensions that are a power of two, to prevent possible blurring.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''rotation:''' the rotation, in degrees for the image.&lt;br /&gt;
*'''rotationCenterOffsetX:''' the absolute X offset from the image center for which to rotate the image from.&lt;br /&gt;
*'''rotationCenterOffsetY:''' the absolute Y offset from the image center for which to rotate the image from.&lt;br /&gt;
*'''color:''' Tints the image with a value produced by [[tocolor]] or hexadecimal number in format: 0xAARRGGBB (AA = alpha, RR = red, GG = green, BB = blue).&lt;br /&gt;
*'''postgui :''' A bool representing whether the image should be drawn on top of or behind any ingame GUI (rendered by CEGUI).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
Example of a pendulum swinging from the top of the screen, made using dxDrawImage.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local screenWidth,screenHeight = guiGetScreenSize()  -- Get screen resolution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function renderDisplay ( )&lt;br /&gt;
	local seconds = getTickCount() / 1000&lt;br /&gt;
	local angle = math.sin(seconds) * 80&lt;br /&gt;
	-- This will draw the graphic file 'arrow.png' at the top middle of the screen&lt;br /&gt;
	-- using the size of 100 pixels wide, and 240 pixels high.&lt;br /&gt;
	-- The center of rotation is at the top of the image.&lt;br /&gt;
	dxDrawImage ( screenWidth/2 - 50, 0, 100, 240, 'arrow.png', angle, 0, -120 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function HandleTheRendering ( )&lt;br /&gt;
	addEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), renderDisplay)  -- Keep everything visible with onClientRender.&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;,resourceRoot, HandleTheRendering)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Drawing_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=TriggerLatentClientEvent&amp;diff=38304</id>
		<title>TriggerLatentClientEvent</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=TriggerLatentClientEvent&amp;diff=38304"/>
		<updated>2014-01-12T19:33:39Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
This function is the same as [[triggerClientEvent ]] except the transmission rate of the data contained in the arguments can be limited&lt;br /&gt;
and other network traffic is not blocked while the data is being transferred.&lt;br /&gt;
{{Note|You should avoid triggering events on the [[root element]] unless you really need to. Doing this triggers the event on every element in the [[element_tree | element tree]], which is potentially very CPU intensive. Use as specific (i.e. low down the tree) element as you can.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool triggerLatentClientEvent ( [table/element sendTo=getRootElement(),] string name, [int bandwidth=50000,] [bool persist=false,] element theElement, [arguments...] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''name:''' The name of the event to trigger client side. You should register this event with [[addEvent]] and add at least one event handler using [[addEventHandler]].&lt;br /&gt;
*'''theElement:''' The element that is the [[Event system#Event handlers|source]] of the event. This could be another player, or if this isn't relevant, use the root element.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''sendTo:''' The event will be sent to all [[player]]s that are children of the specified element. By default this is the root element, and hence the event is sent to all players. If you specify a single player it will just be sent to that player. This argument can also be a table of player elements.&lt;br /&gt;
*'''bandwidth:''' The bytes per second rate to send the data contained in the arguments.&lt;br /&gt;
*'''persist:''' A bool indicating whether the transmission should be allowed to continue even after the resource that triggered it has since stopped.&lt;br /&gt;
*'''arguments...:''' A list of arguments to trigger with the event. You can pass any lua data type (except functions). You can also pass [[element]]s. The total amount of data should not exceed 100MB.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the event trigger has been sent, ''false'' if invalid arguments were specified.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
   --TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|1.3.0-9.03772|n/a|}}&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.0-9.04570|Added option to use a list of player elements for the 'sendTo' argument}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Event functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Id&amp;diff=38303</id>
		<title>Talk:Id</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Id&amp;diff=38303"/>
		<updated>2014-01-12T19:17:42Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Shouldn't this be moved to &amp;quot;ID&amp;quot;? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Shouldn't this be moved to &amp;quot;ID&amp;quot;?==&lt;br /&gt;
Shouldn't this be moved to [[ID]]? Everywhere else we refer to these things as &amp;quot;IDs&amp;quot;, so shouldn't the singular form just  be &amp;quot;ID&amp;quot;? --[[User:Qais|qaisjp]] 14:14, 12 January 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
Well, it's already redirected from [[ID]]... --Jaysds1 19:17, 12 January 2014 (UTC)&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Id&amp;diff=38302</id>
		<title>Talk:Id</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Id&amp;diff=38302"/>
		<updated>2014-01-12T19:17:26Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Shouldn't this be moved to &amp;quot;ID&amp;quot;? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Shouldn't this be moved to &amp;quot;ID&amp;quot;?==&lt;br /&gt;
Shouldn't this be moved to [[ID]]? Everywhere else we refer to these things as &amp;quot;IDs&amp;quot;, so shouldn't the singular form just  be &amp;quot;ID&amp;quot;? --[[User:Qais|qaisjp]] 14:14, 12 January 2014 (UTC)&lt;br /&gt;
Well, it's already redirected from [[ID]]... --Jaysds1 19:17, 12 January 2014 (UTC)&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetAnalogControlState&amp;diff=38212</id>
		<title>SetAnalogControlState</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetAnalogControlState&amp;diff=38212"/>
		<updated>2014-01-07T18:02:28Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */ This function is client-sided already, no need for the section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This sets the analog control state of a control for the local player.&lt;br /&gt;
&lt;br /&gt;
To change the analog controls for a ped, please use [[setPedAnalogControlState]].&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool setAnalogControlState ( string controlName [, float state] ) &amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===Required Arguement===&lt;br /&gt;
* '''controlName''': the control name you wish to set the analog state of. Here's a list:&lt;br /&gt;
**'''left'''&lt;br /&gt;
**'''right'''&lt;br /&gt;
**'''forwards'''&lt;br /&gt;
**'''backwards'''&lt;br /&gt;
**'''vehicle_left'''&lt;br /&gt;
**'''vehicle_right'''&lt;br /&gt;
**'''steer_forward'''&lt;br /&gt;
**'''steer_back'''&lt;br /&gt;
**'''accelerate'''&lt;br /&gt;
**'''brake_reverse'''&lt;br /&gt;
**'''special_control_left'''&lt;br /&gt;
**'''special_control_right'''&lt;br /&gt;
**'''special_control_up'''&lt;br /&gt;
**'''special_control_down'''&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''state:''' A float between 0 and 1 indicating the amount the control is pressed. If no value is provided, the analog control is removed.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns true, else false if invalid argument.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
/analog command starts to go forward control state if you are not, if you are going forward by control state then you will stop.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function analog()&lt;br /&gt;
if (getAnalogControlState(&amp;quot;forwards&amp;quot;) == 0) then&lt;br /&gt;
setAnalogControlState (&amp;quot;forwards&amp;quot;,1)&lt;br /&gt;
else&lt;br /&gt;
setAnalogControlState (&amp;quot;forwards&amp;quot;,0)&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;analog&amp;quot;,analog)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
This example written by '''Samurai'''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client input functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetWeaponClipAmmo&amp;diff=37614</id>
		<title>SetWeaponClipAmmo</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetWeaponClipAmmo&amp;diff=37614"/>
		<updated>2013-11-17T05:47:18Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
Set the ammo in a custom weapons magazine/clip.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setWeaponClipAmmo ( weapon theWeapon, int clipAmmo )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theWeapon:''' The weapon to set the clip ammo of.&lt;br /&gt;
* '''clipAmmo:''' The amount of ammo in the clip.&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createWepCmd()&lt;br /&gt;
	local wep = createWeapon(&amp;quot;m4&amp;quot;, 0, 0, 0)&lt;br /&gt;
	setWeaponClipAmmo(wep, 50)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;weapon&amp;quot;, createWepCmd)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Weapon functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetWeaponFiringRate&amp;diff=37613</id>
		<title>GetWeaponFiringRate</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetWeaponFiringRate&amp;diff=37613"/>
		<updated>2013-11-17T05:46:27Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
Gets the firing rate to be used when you set the custom weapon to the firing state.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getWeaponFiringRate ( weapon theWeapon )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theWeapon:''' The weapon to modify the firing rate of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''integer'' with the firing rate of the custom weapon, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local wep = createWeapon(&amp;quot;minigun&amp;quot;, 0, 0, 0)&lt;br /&gt;
&lt;br /&gt;
function getWepRate()&lt;br /&gt;
	if (not wep) then return end&lt;br /&gt;
	local rate = getWeaponFiringRate(wep)&lt;br /&gt;
	outputChatBox(&amp;quot;Fire rate: &amp;quot;..rate)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;firerate&amp;quot;, getWepRate)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client weapon creation functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Client_Scripting_Events&amp;diff=37268</id>
		<title>Client Scripting Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Client_Scripting_Events&amp;diff=37268"/>
		<updated>2013-10-07T03:52:28Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;client&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
This page lists all '''client-side''' scripting [[event]]s that have been implemented and are available in the Deathmatch mod.&lt;br /&gt;
&lt;br /&gt;
To request a function or event, use [[Requested Functions and Events]].&lt;br /&gt;
&lt;br /&gt;
'''Server-side scripting events can be found here: [[Server Scripting Events]]&lt;br /&gt;
&lt;br /&gt;
==Colshape events==&lt;br /&gt;
{{Client_colshape_events}}&lt;br /&gt;
&lt;br /&gt;
==Element events==&lt;br /&gt;
{{Client_element_events}}&lt;br /&gt;
&lt;br /&gt;
==GUI events==&lt;br /&gt;
{{GUI_events}}&lt;br /&gt;
&lt;br /&gt;
==Marker events==&lt;br /&gt;
{{Client_marker_events}}&lt;br /&gt;
&lt;br /&gt;
==Ped events==&lt;br /&gt;
{{Client_ped_events}}&lt;br /&gt;
&lt;br /&gt;
==Pickup events==&lt;br /&gt;
{{Client_pickup_events}}&lt;br /&gt;
&lt;br /&gt;
==Player events==&lt;br /&gt;
{{Client_player_events}}&lt;br /&gt;
&lt;br /&gt;
==Object events==&lt;br /&gt;
{{Client_object_events}}&lt;br /&gt;
&lt;br /&gt;
==Projectile events==&lt;br /&gt;
{{Client_projectile_events}}&lt;br /&gt;
&lt;br /&gt;
==Resource events==&lt;br /&gt;
{{Client_resource_events}}&lt;br /&gt;
&lt;br /&gt;
==Sound events==&lt;br /&gt;
{{Sound_events}}&lt;br /&gt;
&lt;br /&gt;
==Vehicle events==&lt;br /&gt;
{{Client_vehicle_events}}&lt;br /&gt;
&lt;br /&gt;
==Weapon creation events==&lt;br /&gt;
{{Client_weapon_creation_events}}&lt;br /&gt;
&lt;br /&gt;
==Other events==&lt;br /&gt;
{{Client_other_events}}&lt;br /&gt;
&lt;br /&gt;
[[pl:Zdarzenia_po_stronie_klienta]]&lt;br /&gt;
[[ru:Client Scripting Events]]&lt;br /&gt;
[[es:Client Scripting Events]]&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiCreateComboBox&amp;diff=37267</id>
		<title>GuiCreateComboBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiCreateComboBox&amp;diff=37267"/>
		<updated>2013-10-07T02:47:13Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */ No point of the section as it's already a client function.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates a combobox GUI element, which you can compare to a gridlist with a dropdown feature.&lt;br /&gt;
* '''NOTE:''' The height of a combobox must be enough to fit the drop down menu, else the drop down won't appear. See [[guiComboBoxAdjustHeight]] to give your combobox the correct height.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element guiCreateComboBox ( float x, float y, float width, float height, string caption, bool relative, [ element parent = nil ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:Gui-combobox.jpg|frame|Example GUI ComboBox.]]&lt;br /&gt;
*'''x:''' A float of the 2D x position of the GUI combobox on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the GUI combobox on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the GUI combobox. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the GUI combobox. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''caption:''' A string for what the title of your combobox will be. This will be shown if no item is selected.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''parent:''' This is the parent that the GUI combobox is attached to.  If the ''relative'' argument is true, sizes and positioning will be made relative to this parent. If the ''relative'' argument is false, positioning will be the number of offset pixels from the parent's origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an element of the created combobox if it was successfully created, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a combo box in the center of the screen with all server vehicles on it.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;addEventHandler (&amp;quot;onClientResourceStart&amp;quot;,resourceRoot,function()&lt;br /&gt;
	local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
	local windowWidth, windowHeight = 200,100&lt;br /&gt;
	local left = screenWidth/2 - windowWidth/2&lt;br /&gt;
	local top = screenHeight/2 - windowHeight/2&lt;br /&gt;
	local vehiclesComboBox = guiCreateComboBox ( left, top, windowWidth,windowHeight, &amp;quot;Vehicle Names&amp;quot;, false ) -- We create a combo box.&lt;br /&gt;
	for index, vehicle in ipairs ( getElementsByType ( &amp;quot;vehicle&amp;quot; ) ) do -- We loop through all vehicles.&lt;br /&gt;
		guiComboBoxAddItem ( vehiclesComboBox, getVehicleName ( vehicle ) ) -- We add the vehicle name to our combo box.&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiSetProperty&amp;diff=37233</id>
		<title>GuiSetProperty</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiSetProperty&amp;diff=37233"/>
		<updated>2013-09-28T14:51:54Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Page isn't available for some reason&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the value of a specific CEGUI property of a GUI element. For a list of properties and their meaning, see the &amp;lt;!-- Not Available right now [http://cegui.org.uk/static/WindowsLookProperties.html CEGUI properties wiki page] --&amp;gt; [http://web.archive.org/web/20120706081430/http://cegui.org.uk/static/WindowsLookProperties.html CEGUI Properties Wiki Page (Wayback Machine)].&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool guiSetProperty ( element guiElement, string property, string value )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiElement:''' the GUI element you wish to get a property of.&lt;br /&gt;
*'''property:''' the name of of property you want the value of.&lt;br /&gt;
*'''value:''' the new value for the property.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If the function succeeds it returns ''true'', if it fails it returns ''false''.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a button when the resource starts and defines a console command that toggles it between enabled (clickable) and disabled (not clickable).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function onStart()&lt;br /&gt;
  button = guiCreateButton( 20, 200, 150, 30, &amp;quot;Test&amp;quot;, false )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement( getThisResource() ), onStart )&lt;br /&gt;
&lt;br /&gt;
function toogleButton()&lt;br /&gt;
  local currentState = guiGetProperty( button, &amp;quot;Disabled&amp;quot; )&lt;br /&gt;
  if currentState == &amp;quot;False&amp;quot; then&lt;br /&gt;
    guiSetProperty( button, &amp;quot;Disabled&amp;quot;, &amp;quot;True&amp;quot; )&lt;br /&gt;
  else&lt;br /&gt;
    guiSetProperty( button, &amp;quot;Disabled&amp;quot;, &amp;quot;False&amp;quot; )&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler( &amp;quot;togglebtn&amp;quot;, toogleButton )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxDrawImageSection&amp;diff=37232</id>
		<title>DxDrawImageSection</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxDrawImageSection&amp;diff=37232"/>
		<updated>2013-09-28T14:10:41Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */ No point of the section as it's already a client function.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}} &lt;br /&gt;
Differing from [[dxDrawImage]], this function only draws a part of an image on the screen for a single frame. In order for the image to stay visible continuously, you need to call this function with the same parameters on each frame update (see [[onClientRender]]).&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool dxDrawImageSection ( float posX, float posY, float width, float height, float u, float v, float usize, float vsize, mixed image, &lt;br /&gt;
[ float rotation = 0, float rotationCenterOffsetX = 0, float rotationCenterOffsetY = 0, int color = white, bool postGUI = false ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''posX:''' the absolute X coordinate of the top left corner of the image&lt;br /&gt;
*'''posY:''' the absolute Y coordinate of the top left corner of the image&lt;br /&gt;
*'''width:''' the absolute width of the image&lt;br /&gt;
*'''height:''' the absolute height of the image&lt;br /&gt;
*'''u:''' the absolute X coordinate of the top left corner of the section which should be drawn from image&lt;br /&gt;
*'''v:''' the absolute Y coordinate of the top left corner of the section which should be drawn from image&lt;br /&gt;
*'''usize:''' the absolute width of the image section&lt;br /&gt;
*'''vsize:''' the absolute height of the image section&lt;br /&gt;
*'''image:''' Either a [[material]] element or a [[filepath]] of the image which is going to be drawn. (.dds images are also supported). Image files should ideally have dimensions that are a power of two, to prevent possible blurring.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''rotation:''' the rotation, in degrees for the image.&lt;br /&gt;
*'''rotationCenterOffsetX:''' the absolute X offset from the image center for which to rotate the image from.&lt;br /&gt;
*'''rotationCenterOffsetY:''' the absolute Y offset from the image center for which to rotate the image from.&lt;br /&gt;
*'''color:''' the color of the image, a value produced by [[tocolor]] or hexadecimal number in format: 0xAARRGGBB (AA = alpha, RR = red, GG = green, BB = blue).&lt;br /&gt;
*'''postgui :''' A bool representing whether the image should be drawn on top of or behind any ingame GUI (rendered by CEGUI).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
The example draws a section of an image. (You can use [http://i1325.photobucket.com/albums/u630/Tourmalinelisa2/128x128.jpg this] image to test.)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler('onClientRender', root, function()&lt;br /&gt;
  dxDrawImageSection(400, 200, 64, 64, 0, 0, 64, 64, 'img.jpg') -- Draw a certain section&lt;br /&gt;
  dxDrawImage(400, 300, 128, 128, 'img.jpg') -- Draw the whole image to be able to identify the difference&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Drawing_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetAnalogControlState&amp;diff=37195</id>
		<title>GetAnalogControlState</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetAnalogControlState&amp;diff=37195"/>
		<updated>2013-09-16T01:34:13Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */ No point of the section as it's already a client function.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This retrieves the analog control state of a control.  This is useful for detecting sensitive controls, such as those used on a joypad.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float getAnalogControlState ( string controlName )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''controlName :''' the name of the control you wish to get the analog state of.  Possible values are:&lt;br /&gt;
**'''left'''&lt;br /&gt;
**'''right'''&lt;br /&gt;
**'''forwards'''&lt;br /&gt;
**'''backwards'''&lt;br /&gt;
**'''vehicle_left'''&lt;br /&gt;
**'''vehicle_right'''&lt;br /&gt;
**'''steer_forward'''&lt;br /&gt;
**'''steer_back'''&lt;br /&gt;
**'''accelerate'''&lt;br /&gt;
**'''brake_reverse'''&lt;br /&gt;
**'''special_control_left'''&lt;br /&gt;
**'''special_control_right'''&lt;br /&gt;
**'''special_control_up'''&lt;br /&gt;
**'''special_control_down'''&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a float between 0 and 1 indicating the amount the control is pressed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
/analog command starts to go forward control state if you are not, if you are going forward by control state then you will stop.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function analog()&lt;br /&gt;
if (getAnalogControlState(&amp;quot;forwards&amp;quot;) == 0) then&lt;br /&gt;
setAnalogControlState (&amp;quot;forwards&amp;quot;,1)&lt;br /&gt;
else&lt;br /&gt;
setAnalogControlState (&amp;quot;forwards&amp;quot;,0)&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;analog&amp;quot;,analog)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
This example written by '''Samurai'''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client input functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ToJSON&amp;diff=37191</id>
		<title>ToJSON</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ToJSON&amp;diff=37191"/>
		<updated>2013-09-14T15:43:49Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|3.0120|1.2||&lt;br /&gt;
Available client side in 1.2 and onwards.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This function converts a '''single''' value (preferably a Lua table) into a [[JSON]] encoded string. You can use this to store the data and then load it again using [[fromJSON]].&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;!-- NOTE: don't use 'special' names for variable names, e.g. you shouldn't be writing things like 'player player, vehicle vehicle', instead write something like 'player thePlayer, vehicle vehicleToGetInto'. This is less confusing and prevents the syntax highlighting being odd --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string toJSON ( var value )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''var:''' An argument of any type. Arguments that are elements will be stored as element IDs that are liable to change between sessions. As such, do not save elements across sessions as you will get unpredictable results.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a JSON formatted string.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example shows how you can encode an array. The string json should equal ''&amp;quot;[ { &amp;quot;1&amp;quot;: &amp;quot;dogs&amp;quot;, &amp;quot;mouse&amp;quot;: &amp;quot;food&amp;quot;, &amp;quot;cat&amp;quot;: &amp;quot;hungry&amp;quot;, &amp;quot;birds&amp;quot;: 4 } ]&amp;quot; after executed.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local json = toJSON ( { &amp;quot;dogs&amp;quot;, cat = &amp;quot;hungry&amp;quot;, mouse = &amp;quot;food&amp;quot;, birds = 4 } )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|1.0|1.1.1-9.03316|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Server_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=FromJSON&amp;diff=37190</id>
		<title>FromJSON</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=FromJSON&amp;diff=37190"/>
		<updated>2013-09-14T15:43:30Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|3.0120|1.2||&lt;br /&gt;
Available client side in 1.2 and onwards.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This function parses a [[JSON]] formatted string into variables. You can use [[toJSON]] to encode variables into a JSON string that can be read by this function.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
var fromJSON ( string json )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''json:''' A JSON formatted string&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns variables read from the JSON string.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Indices of a JSON object such as &amp;quot;1&amp;quot;: &amp;quot;cat&amp;quot; are being returned as [[string]], not as [[int]]eger.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This makes data equal: ''{ [&amp;quot;1&amp;quot;] = &amp;quot;cat&amp;quot;, [&amp;quot;2&amp;quot;] = &amp;quot;mouse&amp;quot;, [&amp;quot;3&amp;quot;] = 5, [&amp;quot;4&amp;quot;] = null, [&amp;quot;cat&amp;quot;] = 5, [&amp;quot;mouse&amp;quot;] =1 }''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local data = fromJSON ( '[ { &amp;quot;1&amp;quot;: &amp;quot;cat&amp;quot;, &amp;quot;2&amp;quot;: &amp;quot;mouse&amp;quot;, &amp;quot;3&amp;quot;: 5, &amp;quot;4&amp;quot;: null, &amp;quot;cat&amp;quot;:5, &amp;quot;mouse&amp;quot;:1 } ]' )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local name, weapon, ammo = fromJSON(&amp;quot;[\&amp;quot;Desert Eagle\&amp;quot;, 24, 147]&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|1.0|1.1.1-9.03316|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Server_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=FromJSON&amp;diff=37189</id>
		<title>FromJSON</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=FromJSON&amp;diff=37189"/>
		<updated>2013-09-14T15:43:07Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Seperate the feature line from what the function actually does.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|3.0120|1.2||&lt;br /&gt;
Available client side in 1.2 and onwards&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This function parses a [[JSON]] formatted string into variables. You can use [[toJSON]] to encode variables into a JSON string that can be read by this function.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
var fromJSON ( string json )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''json:''' A JSON formatted string&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns variables read from the JSON string.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Indices of a JSON object such as &amp;quot;1&amp;quot;: &amp;quot;cat&amp;quot; are being returned as [[string]], not as [[int]]eger.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This makes data equal: ''{ [&amp;quot;1&amp;quot;] = &amp;quot;cat&amp;quot;, [&amp;quot;2&amp;quot;] = &amp;quot;mouse&amp;quot;, [&amp;quot;3&amp;quot;] = 5, [&amp;quot;4&amp;quot;] = null, [&amp;quot;cat&amp;quot;] = 5, [&amp;quot;mouse&amp;quot;] =1 }''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local data = fromJSON ( '[ { &amp;quot;1&amp;quot;: &amp;quot;cat&amp;quot;, &amp;quot;2&amp;quot;: &amp;quot;mouse&amp;quot;, &amp;quot;3&amp;quot;: 5, &amp;quot;4&amp;quot;: null, &amp;quot;cat&amp;quot;:5, &amp;quot;mouse&amp;quot;:1 } ]' )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local name, weapon, ammo = fromJSON(&amp;quot;[\&amp;quot;Desert Eagle\&amp;quot;, 24, 147]&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|1.0|1.1.1-9.03316|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Server_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ToJSON&amp;diff=37188</id>
		<title>ToJSON</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ToJSON&amp;diff=37188"/>
		<updated>2013-09-14T15:29:26Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Seperate the feature line from what the function actually does.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|3.0120|1.2||&lt;br /&gt;
Available client side in 1.2 and onwards&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This function converts a '''single''' value (preferably a Lua table) into a [[JSON]] encoded string. You can use this to store the data and then load it again using [[fromJSON]].&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;!-- NOTE: don't use 'special' names for variable names, e.g. you shouldn't be writing things like 'player player, vehicle vehicle', instead write something like 'player thePlayer, vehicle vehicleToGetInto'. This is less confusing and prevents the syntax highlighting being odd --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string toJSON ( var value )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''var:''' An argument of any type. Arguments that are elements will be stored as element IDs that are liable to change between sessions. As such, do not save elements across sessions as you will get unpredictable results.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a JSON formatted string.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example shows how you can encode an array. The string json should equal ''&amp;quot;[ { &amp;quot;1&amp;quot;: &amp;quot;dogs&amp;quot;, &amp;quot;mouse&amp;quot;: &amp;quot;food&amp;quot;, &amp;quot;cat&amp;quot;: &amp;quot;hungry&amp;quot;, &amp;quot;birds&amp;quot;: 4 } ]&amp;quot; after executed.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local json = toJSON ( { &amp;quot;dogs&amp;quot;, cat = &amp;quot;hungry&amp;quot;, mouse = &amp;quot;food&amp;quot;, birds = 4 } )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|1.0|1.1.1-9.03316|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Server_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Version_History&amp;diff=37086</id>
		<title>Version History</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Version_History&amp;diff=37086"/>
		<updated>2013-09-09T23:30:27Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* See Also */ A more secure future :p&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{note|If you just want to download [[Multi Theft Auto]] go here:&lt;br /&gt;
* [http://mtasa.com Download MTA: San Andreas {{Current Version|full}}]&lt;br /&gt;
* [[Archive|Download Multi Theft Auto 0.5r2 (GTA3 and Vice City)]]&lt;br /&gt;
}}&lt;br /&gt;
An overview of the (released) MTA versions.&lt;br /&gt;
&lt;br /&gt;
== List of (released) versions ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: auto; text-align: center; table-layout: fixed;&amp;quot;&lt;br /&gt;
|+ List of Multi Theft Auto Versions&lt;br /&gt;
|-&lt;br /&gt;
! Release&lt;br /&gt;
! Version&lt;br /&gt;
! Date&lt;br /&gt;
! GTA: III&lt;br /&gt;
! GTA: Vice City&lt;br /&gt;
! GTA: San Andreas&lt;br /&gt;
! License&lt;br /&gt;
|-&lt;br /&gt;
! GTA3:AM&lt;br /&gt;
| 0.1&lt;br /&gt;
| February 9, 2003&lt;br /&gt;
| {{yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; | GTA3:MTA&lt;br /&gt;
| 0.2a&lt;br /&gt;
| February 28, 2003&lt;br /&gt;
| {{yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 0.3b&lt;br /&gt;
| May 29, 2003&lt;br /&gt;
| {{yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;4&amp;quot; | MTA:VC&lt;br /&gt;
| 0.1&lt;br /&gt;
| August 2, 2003&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 0.2&lt;br /&gt;
| September 20, 2003&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 0.3&lt;br /&gt;
| December 25, 2003&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 0.3r2&lt;br /&gt;
| January 1, 2004&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot; | MTA&lt;br /&gt;
| 0.4&lt;br /&gt;
| July 27, 2004&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 0.4.1&lt;br /&gt;
| July 31, 2004&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 0.5&lt;br /&gt;
| January 31, 2005&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #FFD6BF;&amp;quot; | [http://files.mtasa.com/web/mta_0.5_launch/051.htm 0.5.1 (2005)]&lt;br /&gt;
| {{n/a}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{n/a}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #FFEC99;&amp;quot; | [http://forum.mtasa.com/viewtopic.php?f=31&amp;amp;t=31692#p336938 0.5r2]&lt;br /&gt;
| January 31, 2011&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #B2BDFF;&amp;quot; | [http://www.projectredivivus.com/ 0.5.1 (2013)]&lt;br /&gt;
| {{n/a}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{n/a}}&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;1&amp;quot; | MTA:VC&lt;br /&gt;
| style=&amp;quot;background: #FFD6BF;&amp;quot; | [http://files.mtasa.com/web/mtablue.info/ Blue]&lt;br /&gt;
| {{n/a}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{n/a}}&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;4&amp;quot; | MTA:SA Race&lt;br /&gt;
| 1.0&lt;br /&gt;
| January 22, 2006&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 1.1&lt;br /&gt;
| March 16, 2006&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 1.1.1&lt;br /&gt;
| March 18, 2006&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 1.1.2&lt;br /&gt;
| May 18, 2008&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot; | MTA:SA Deathmatch&lt;br /&gt;
| 1.0 DP1.0&lt;br /&gt;
| January 3, 2008&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 DP2.0&lt;br /&gt;
| January 10, 2008&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 DP2.1&lt;br /&gt;
| May 23, 2008&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 DP2.2&lt;br /&gt;
| August 4, 2008&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 DP2.3&lt;br /&gt;
| August 6, 2008&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| Freeware&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;16&amp;quot; | MTA:SA&lt;br /&gt;
| 1.0&lt;br /&gt;
| August 21, 2009&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.1&lt;br /&gt;
| October 2, 2009&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.2&lt;br /&gt;
| October 24, 2009&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3&lt;br /&gt;
| December 17, 2009&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.4&lt;br /&gt;
| June 10, 2010&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.5&lt;br /&gt;
| March 28, 2011&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.1&lt;br /&gt;
| August 25, 2011&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.1.1&lt;br /&gt;
| September 19, 2011&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.2&lt;br /&gt;
| December 17, 2011&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.3&lt;br /&gt;
| January 24, 2012&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.3.1&lt;br /&gt;
| September 3, 2012&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.3.2&lt;br /&gt;
| May 5, 2013&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| 1.3.3&lt;br /&gt;
| July 2, 2013&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #99FF99;&amp;quot; | 1.3.4&lt;br /&gt;
| September 7, 2013&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #B2BDFF;&amp;quot; | 1.3.5&lt;br /&gt;
| {{n/a}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #B2BDFF;&amp;quot; | 1.4&lt;br /&gt;
| {{n/a}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{No}}&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
| GPLv3&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: auto; text-align: center; table-layout: fixed;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;20px;&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
| Previous Version, Unsupported&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;20px;&amp;quot; style=&amp;quot;background: #99FF99;&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
| Current Version, Supported&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;20px;&amp;quot; style=&amp;quot;background: #B2BDFF;&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
| In Development / Future Release&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;20px;&amp;quot; style=&amp;quot;background: #FFEC99;&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
| Released by Community&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;20px;&amp;quot; style=&amp;quot;background: #FFD6BF;&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
| Never Released&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* AM = Alternative Multiplayer&lt;br /&gt;
* DP = Developer Preview&lt;br /&gt;
** MTA:San Andreas 1.0 was also known as Developer Preview 3.0, this was later dropped because the 'new' 1.0 was a major release.&lt;br /&gt;
&lt;br /&gt;
{{Comparison of Versions}}&lt;br /&gt;
&lt;br /&gt;
== MTA 0.5 ==&lt;br /&gt;
{{versionbox|&lt;br /&gt;
versionname = Multi Theft Auto 0.5|&lt;br /&gt;
image = [[File:Clientwelcome_nick.jpg|MTA 0.5 Client|center|230px]]|&lt;br /&gt;
status = Supported by community|&lt;br /&gt;
release = January 31, 2005|&lt;br /&gt;
core = 0.3|&lt;br /&gt;
license = Freeware|&lt;br /&gt;
}}&lt;br /&gt;
The latest stable release for GTA III and GTA: Vice City bundled in one client and server. This release was also the first version that had a server browser build in the client.&lt;br /&gt;
[[File:800px-Robber.jpg|Spawnscreen in Vice City at Robbers spawn|right|thumb|230px]]&lt;br /&gt;
&lt;br /&gt;
=== Gamemodes ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: auto; text-align: center; table-layout: fixed;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! GTA&lt;br /&gt;
! Gamemode Name&lt;br /&gt;
! Uses Spawnscreen&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; |GTA: Vice City&lt;br /&gt;
| [[MTA:VC Deathmatch Gamemode|Deathmatch]]&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MTA:VC Stunt Gamemode|Stunt]]&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;3&amp;quot; |GTA III&lt;br /&gt;
| [[GTA3 Portland|Portland]]&lt;br /&gt;
| {{No}}&lt;br /&gt;
|-&lt;br /&gt;
|[[GTA3 SSV|Shoreside Vale]]&lt;br /&gt;
| {{Yes}}&lt;br /&gt;
|-&lt;br /&gt;
|[[GTA3 Staunton|Staunton]]&lt;br /&gt;
| {{No}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Spawns ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: auto; text-align: center; table-layout: fixed;&amp;quot;&lt;br /&gt;
|+ MTA:Vice City Deathmatch&lt;br /&gt;
|-&lt;br /&gt;
! Team/Spawn Name/Mode&lt;br /&gt;
! Spawn Location&lt;br /&gt;
|-&lt;br /&gt;
| Robbers&lt;br /&gt;
| Phil's Place - Little Haiti&lt;br /&gt;
|-&lt;br /&gt;
| Mexicans&lt;br /&gt;
| Escobar International Airport's terminal&lt;br /&gt;
|-&lt;br /&gt;
| Sailors&lt;br /&gt;
| Vice City Docks - Vice Port&lt;br /&gt;
|-&lt;br /&gt;
| Vice City Crusader&lt;br /&gt;
| Random Location in Vice City&lt;br /&gt;
|-&lt;br /&gt;
| Secret Service&lt;br /&gt;
| Under a shelter - Ocean Beach&lt;br /&gt;
|-&lt;br /&gt;
| Cops&lt;br /&gt;
| Police Stations in Vice City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Spectator&lt;br /&gt;
| Allows to watch other players&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: auto; text-align: center; table-layout: fixed;&amp;quot;&lt;br /&gt;
|+ colspan=&amp;quot;2&amp;quot; | MTA:Vice City Stunt&lt;br /&gt;
|-&lt;br /&gt;
! Team/Spawn Name/Mode&lt;br /&gt;
! Spawn Location&lt;br /&gt;
|-&lt;br /&gt;
| Yuppies&lt;br /&gt;
| Spawn inside the multistory parking garage in Ocean Beach&lt;br /&gt;
|-&lt;br /&gt;
| Dirt Racers&lt;br /&gt;
| Spawn outside of the Stadium&lt;br /&gt;
|-&lt;br /&gt;
| Bikers&lt;br /&gt;
| Spawn in the parking lot behind the Malibu club&lt;br /&gt;
|-&lt;br /&gt;
| Speeders&lt;br /&gt;
| Spawn at the parking lot near the Escobar International Airport&lt;br /&gt;
|-&lt;br /&gt;
| Packer Driver&lt;br /&gt;
| Spawn at Downtown in the large parking lot near the Biker Bar&lt;br /&gt;
|-&lt;br /&gt;
| Fun House Dept.&lt;br /&gt;
| Spawns at North Point Mall's multistory parking garage&lt;br /&gt;
|-&lt;br /&gt;
| Heli Pilot&lt;br /&gt;
| Spawn at the Escobar International Airport runway&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Spectator&lt;br /&gt;
| Allows to watch other players&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: auto; text-align: center; table-layout: fixed;&amp;quot;&lt;br /&gt;
|+ GTA3:MTA Shoreside Vale&lt;br /&gt;
|-&lt;br /&gt;
! Team/Spawn Name&lt;br /&gt;
! Spawn Location&lt;br /&gt;
|-&lt;br /&gt;
| Yakuza&lt;br /&gt;
| Pike Creek&lt;br /&gt;
|-&lt;br /&gt;
| Southside Hoods&lt;br /&gt;
| Witchita Gardens&lt;br /&gt;
|-&lt;br /&gt;
| Columbians&lt;br /&gt;
| Cedar Grove&lt;br /&gt;
|-&lt;br /&gt;
| Cops&lt;br /&gt;
| Pike Creek&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Huge increase in stability. Using the errors reported to us using the Error Report Tool, we've managed to fix a large number of the common crashes.&lt;br /&gt;
* New Staunton Island map available for GTA3, which includes a race mode and deathmatch.&lt;br /&gt;
* New Shoreside Vale map available for GTA3, which includes several gamemodes. &lt;br /&gt;
* Lots of changes to the existing maps.&lt;br /&gt;
* A server browser has been added to the client along with an area to store your favourites and a list of servers you've played on recently (History). &lt;br /&gt;
* New Client design - The client has been redesigned to make it easier to use. Error messages are now more self explanatory and checks are added to help users ensure their game is set up correctly. &lt;br /&gt;
* Added an in-client server that allows you to quickly configure and host a server straight from the MTA Client.&lt;br /&gt;
* Integrated the MTA Protocol handler - now mta:// links will work for all MTA 0.5 users.&lt;br /&gt;
* Redesigned MTA Admin Tool to make it easier and more logical to use. &lt;br /&gt;
* In client global MOTD so that you can hear about news from MTA immediately.&lt;br /&gt;
* A rich text welcome message that the server can show to players when they join. This can contain much more information than the normal Message of the Day and is visible in the client the entire time the user is on the server.&lt;br /&gt;
* New installation and configuration scripts for easy setup for Linux dedicated servers. &lt;br /&gt;
* More platforms supported for the dedicated server, including FreeBSD and OpenBSD. &lt;br /&gt;
* Improved error report tool is now installed by default (though optionally).&lt;br /&gt;
* Chat box in the client now scrolls properly, as most chat programs do (scroll up to stop auto-scroll). &lt;br /&gt;
&lt;br /&gt;
=== Minor Updates ===&lt;br /&gt;
&lt;br /&gt;
* '''Patch 1''': A server [http://forum.multitheftauto.com/viewtopic.php?f=31&amp;amp;t=13923#p198981 patch] was released; the Message of The Day feature could be exploited.&lt;br /&gt;
* '''0.5.1 (2005)''': In February 2005 MTA 0.5.1 [http://files.mtasa.com/web/mta_0.5_launch/051.htm preview] was shown to the public, addressing known issues and adding new features. 0.5.1 was never released.&lt;br /&gt;
* '''0.5r2''': Members of the MTA community released a minor update called 0.5r2 for 0.5, this also includes a new (external) server browser, the included server browser in 0.5 client is non-functional since 2008.&lt;br /&gt;
** [http://forum.mtasa.com/viewtopic.php?f=31&amp;amp;t=31692#p336938 Download]&lt;br /&gt;
** [http://forum.mtasa.com/viewtopic.php?f=31&amp;amp;t=31692#p336939 Changelog for 0.5r2]&lt;br /&gt;
* '''0.5.1 (2013)''': In 2013 members of the MTA community called ''Project Redivivus'' are developing a minor update for 0.5 with major changes. This is likely to become open source. &lt;br /&gt;
** [http://www.projectredivivus.com/ Website]&lt;br /&gt;
&lt;br /&gt;
=== Archived Wiki pages ===&lt;br /&gt;
* [[MTA_0.5_EULA|EULA]]&lt;br /&gt;
* [[MTA_0.5_Installation|Installation]]&lt;br /&gt;
* [[MTA_0.5_Known_Issues|Known Issues]]&lt;br /&gt;
* [[MTA:VC_0.5|0.5 Vice City]]&lt;br /&gt;
* [[MTA:VC_Deathmatch_Gamemode|Vice City Deathmatch Gamemode]]&lt;br /&gt;
* [[MTA:VC_Stunt_Gamemode|Vice City Stunt Gamemode]]&lt;br /&gt;
* [[MTA:mA]]&lt;br /&gt;
* [[Using_A_0.5_Server_With_Screen|Using the server with screen utility]]&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
*[[MTA Vault]]&lt;br /&gt;
&lt;br /&gt;
== MTA:San Andreas Race ==&lt;br /&gt;
{{versionbox|&lt;br /&gt;
versionname = Multi Theft Auto: San Andreas Race|&lt;br /&gt;
image = [[File:MTASA-Race-Mainmenu.png|Multi Theft Auto± San Andreas Race Main Menu|center|230px]]|&lt;br /&gt;
status = Unsupported/Obsolete|&lt;br /&gt;
release = May 18, 2008|&lt;br /&gt;
core = Blue|&lt;br /&gt;
license = Freeware|&lt;br /&gt;
}}&lt;br /&gt;
MTA:SA Race is the first release that was made with the blue framework, a new approach to control the game (GTA). The sync was also better over the previous releases and the client is in game not an external application. Notice the blue GUI in the screenshot.&lt;br /&gt;
&lt;br /&gt;
A new slogan was introduced: &amp;quot;Stop Playing With Yourself.&amp;quot;&lt;br /&gt;
[[File:Mtavcbluelaunching.png|MTA Loading screen with the new slogan: &amp;quot;Stop Playing With Yourself.&amp;quot;|thumb|230px]]&lt;br /&gt;
&lt;br /&gt;
=== Gamemodes ===&lt;br /&gt;
As the name suggests it is only race (you cannot get out of your vehicle).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: auto; text-align: center; table-layout: fixed;&amp;quot;&lt;br /&gt;
!Gamemode&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|Race&lt;br /&gt;
|-&lt;br /&gt;
|Freeroam&lt;br /&gt;
|-&lt;br /&gt;
|Destruction Derby&lt;br /&gt;
|The goal is to survive, last player that is still alive wins.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
[[File:MTASA-Race-Racing.jpg|Racing in MTA:SA|right|thumb|230px]]&lt;br /&gt;
* In game client.&lt;br /&gt;
* Map Editor to create a map in game.&lt;br /&gt;
* Optimised netcode results in reduced lag.&lt;br /&gt;
* Blue loads a DLL with the game instead of injecting code into its memory process. This improves stability and means that custom SCM files do not have to be moved to the game's directory when it is started. &lt;br /&gt;
* Full integration means that Blue's server list is directly integrated into GTA's GUI.&lt;br /&gt;
* Fewer glitches. This is achieved by synchronizing every animation, implementing a custom pause menu so that people can't pause to escape death, and forcing the frame limiter on so that everyone's game runs at the same maximum speed. &lt;br /&gt;
* Greater synchronization, this means that MTA players can finally use boats.&lt;br /&gt;
* Anti cheat. &lt;br /&gt;
&lt;br /&gt;
=== Minor Updates ===&lt;br /&gt;
* '''1.1'''&lt;br /&gt;
** New mappack&lt;br /&gt;
** New map nomination voting system&lt;br /&gt;
** Respawning during map&lt;br /&gt;
** Map timelimit added in map files and server config&lt;br /&gt;
** New player animation sync&lt;br /&gt;
** Admins can PM players from remote admin&lt;br /&gt;
** The 255 map limit has been fixed&lt;br /&gt;
** Fixed various admin stability issues&lt;br /&gt;
* '''1.1.1'''&lt;br /&gt;
** Fixed: Freezes that occurred frequently for some users (and not at all for others)&lt;br /&gt;
** Fixed: Nothing would happen after the splash screen appeared for some users&lt;br /&gt;
** Fixed: All players getting kicked from a server with a &amp;quot;protocol error 92&amp;quot; message&lt;br /&gt;
** Fixed: Players getting stuck in &amp;quot;You will respawn in 1 second&amp;quot; mode, if a race starts before they join completely&lt;br /&gt;
** Fixed: Issue where error reporter would sometimes fail to find core dump&lt;br /&gt;
** Fixed: Occasional crash when connecting to a server through the server browser&lt;br /&gt;
** Fixes: Various other crashes&lt;br /&gt;
** Added: An error message is now displayed if you try to use the ′order checkpoints′ option in the map editor if you have no checkpoints in your map&lt;br /&gt;
** Added: DefaultMapDuration and DefaultRespawnTime to server config&lt;br /&gt;
* '''1.1.2'''&lt;br /&gt;
** All-Seeing Eye server-browser has been removed in favour of a more reliable and faster replacement&lt;br /&gt;
** Removed redundant &amp;quot;MTA Center&amp;quot; references&lt;br /&gt;
** Removed support for built-in error reporter&lt;br /&gt;
&lt;br /&gt;
No more releases for MTA:SA Race, the new MTA release made the race version obsolete, a new resource called 'race' which could read the race maps replaced it.&lt;br /&gt;
&lt;br /&gt;
=== Archived Wiki pages ===&lt;br /&gt;
*[[MTA:SA Race FAQ]]&lt;br /&gt;
*[[Blue]]&lt;br /&gt;
*[[MTA:SA R1]]&lt;br /&gt;
*[[MTA:SA Race-Windows Server Guide]]&lt;br /&gt;
*[[MTA General FAQ]]&lt;br /&gt;
*[[MTA R1 remote administration_protocol]]&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
* [[Upgrading from MTA:Race]]&lt;br /&gt;
&lt;br /&gt;
== MTA:San Andreas (Deathmatch) 1.0.x ==&lt;br /&gt;
{{versionbox|&lt;br /&gt;
versionname = Multi Theft Auto: San Andreas (Deathmatch) 1.0.x|&lt;br /&gt;
image = [[File:MTA_Main_Menu_1.0.x.png|Multi Theft Auto: San Andreas (Deathmatch) Main Menu|center|230px]]|&lt;br /&gt;
status = Unsupported|&lt;br /&gt;
release = March 28, 2011|&lt;br /&gt;
core = Blue|&lt;br /&gt;
license = Freeware (Until DP2.3) GPLv3 (since 1.0 (August 21, 2009))|&lt;br /&gt;
}}&lt;br /&gt;
MTA:San Andreas Deathmatch Developer Preview 1 was the first release that featured on-foot synchronization for San Andreas. The name deathmatch refers to the ability to shoot with weapons and get on-foot unlike the race version. The tag deathmatch has been dropped in later releases because this version allowed customized gamemodes with LUA scripting and confused players. While the first 5 releases were called 'Developer Preview' it was very popular. In August 21, 2009 version 1.0.x was released with the GPLv3 license this allowed to work with more people on the next release when it became open source.&lt;br /&gt;
&lt;br /&gt;
=== Gamemodes ===&lt;br /&gt;
This was the first released that allowed to create customized gamemodes with the LUA scripting language. No static gamemodes. &lt;br /&gt;
Scripted gamemodes and utilities packed together are called resources.&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
* On-foot synchronization.&lt;br /&gt;
* Improved vehicle synchronization.&lt;br /&gt;
* LUA scripting.&lt;br /&gt;
* New map editor with EDF (Editor Definition File) allowed to edit custom gamemodes created with LUA.&lt;br /&gt;
* Included web server in server side for remote administration or statistics.&lt;br /&gt;
* Client side scripting with LUA, allowing to transfer files to the client which can be used to create GUI on the client for example.&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
=== Minor Updates ===&lt;br /&gt;
* 1.0.1&lt;br /&gt;
* 1.0.2&lt;br /&gt;
* 1.0.3&lt;br /&gt;
* 1.0.4&lt;br /&gt;
* 1.0.5&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
* [[Changes in 1.0]]&lt;br /&gt;
* [http://code.google.com/p/mtasa-blue/ Subversion on Google Code]&lt;br /&gt;
* [[Scripting Introduction]]&lt;br /&gt;
* [http://www.lua.org/pil/index.html &amp;quot;Programming in Lua&amp;quot; Manual]&lt;br /&gt;
&lt;br /&gt;
== MTA:San Andreas 1.1.x ==&lt;br /&gt;
{{versionbox|&lt;br /&gt;
versionname = Multi Theft Auto: San Andreas 1.1.x|&lt;br /&gt;
image = [[File:MTA_Main_Menu_1.1.x.png|Multi Theft Auto: San Andreas 1.1.x Main Menu|center|230px]]|&lt;br /&gt;
status = Unsupported|&lt;br /&gt;
release = September 19, 2011|&lt;br /&gt;
core = Blue|&lt;br /&gt;
license = GPLv3|&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Vehicle handling can be modified by servers&lt;br /&gt;
* Custom fonts&lt;br /&gt;
* Special skins&lt;br /&gt;
* Improved server browser&lt;br /&gt;
* Voice chat (on servers that support it)&lt;br /&gt;
* Improved sound support, including streaming audio&lt;br /&gt;
* Increased maximum player count&lt;br /&gt;
* Custom shaders&lt;br /&gt;
* Cars can now have any color you want, not just the ones GTA has normally&lt;br /&gt;
* GUI Skin switching&lt;br /&gt;
&lt;br /&gt;
=== Minor Updates ===&lt;br /&gt;
* 1.1.1&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
* [[Changes in 1.1]]&lt;br /&gt;
&lt;br /&gt;
== MTA:San Andreas 1.2.x ==&lt;br /&gt;
{{versionbox|&lt;br /&gt;
versionname = Multi Theft Auto:San Andreas 1.2.x|&lt;br /&gt;
status = Unsupported|&lt;br /&gt;
release = December 17, 2011|&lt;br /&gt;
core = Blue|&lt;br /&gt;
license = GPLv3|&lt;br /&gt;
}}&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Major bandwidth usage reductions&lt;br /&gt;
* Ability to replace ped models&lt;br /&gt;
* Ability to replace weapon models&lt;br /&gt;
* Threaded database access functions&lt;br /&gt;
* Custom weapon stats&lt;br /&gt;
* Synced and controllable vehicle variants&lt;br /&gt;
* Improved bullet accuracy synchronization&lt;br /&gt;
&lt;br /&gt;
=== Minor Updates ===&lt;br /&gt;
* None&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
* [[Changes in 1.2]]&lt;br /&gt;
&lt;br /&gt;
== MTA:San Andreas 1.3.x ==&lt;br /&gt;
{{versionbox|&lt;br /&gt;
versionname = Multi Theft Auto:San Andreas 1.3.x|&lt;br /&gt;
status = Stable|&lt;br /&gt;
release = September 7, 2013|&lt;br /&gt;
core = Blue|&lt;br /&gt;
license = GPLv3|&lt;br /&gt;
}}&lt;br /&gt;
This version was released quickly because 1.2 had several network related issues, that were fixed in this release.&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Fixes for various network problems which occured in 1.1 and 1.2 series. (including a fix for &amp;quot;Map download breaking often on large transfers&amp;quot; issue)&lt;br /&gt;
* Added new scripting functions for removal of default GTASA map objects. (including breakable ones)&lt;br /&gt;
* Introduced a new scripting event. - [[onClientVehicleCollision]]&lt;br /&gt;
* Implemented a new scripting function. - [[takePlayerScreenShot]]&lt;br /&gt;
* Fixes for various crashes and issues. (including &amp;quot;warp glitch&amp;quot;, inaccurate heat seekers sync, createProjectile() velocity desync between clients, custom models texture crash, &amp;quot;white models&amp;quot; when using custom models and more)&lt;br /&gt;
* Added functionality to protect client-side scripts which pre-compiles them before being sent and stops resources from being saved on disk. This is configurable in the resource's meta.xml.&lt;br /&gt;
* Added pixel manipulation functionality.&lt;br /&gt;
* Introduced new client-side scripting functions - [[setBirdsEnabled]] and [[getBirdsEnabled]]&lt;br /&gt;
* Included a new gui skin - [http://forum.mtasa.com/viewtopic.php?f=139&amp;amp;t=36010#p371815 Lighter black] - contributed by Aibo&lt;br /&gt;
&lt;br /&gt;
=== Minor Updates ===&lt;br /&gt;
* '''1.3.1'''&lt;br /&gt;
** Added Custom Vehicle Sirens&lt;br /&gt;
** Fixed map files are downloading very slow issue&lt;br /&gt;
** Fixed timeouts on map change&lt;br /&gt;
** Fixed various issues, crashes and freezes&lt;br /&gt;
** Updated max players to 4096&lt;br /&gt;
** Added BASS Effects&lt;br /&gt;
** Added Analog Controls States&lt;br /&gt;
** Added bullet sync&lt;br /&gt;
** Fixed several custom model replacing issues&lt;br /&gt;
** Windows 8 support (both 32-bits and 64-bits)&lt;br /&gt;
** Added ability to create pedless weapons via weapon creation&lt;br /&gt;
** Improved Map Editor stability and added new features&lt;br /&gt;
** Installers for regular builds and nightlies are now digitally signed&lt;br /&gt;
* '''1.3.2'''&lt;br /&gt;
** Client setting: Turn off selected sounds when minimized.&lt;br /&gt;
** Client setting: Added aim vertical sensitivity setting.&lt;br /&gt;
** Client setting: Added process priority setting.&lt;br /&gt;
** Added glitch 'hitanim' to allow 'being hit by bullet' animation when aiming certain weapons.&lt;br /&gt;
** Added 'sinfo' command to client to output server info.&lt;br /&gt;
** Added 'showframegraph' command for displaying frame timings.&lt;br /&gt;
** Added server multiple IP support.&lt;br /&gt;
** Reduced stutter on big maps.&lt;br /&gt;
** Fixed vehicles losing velocity on race respawn .&lt;br /&gt;
** Fixed a server browser crash.&lt;br /&gt;
** Fixed smoothness when using server setting 'latency_reduction'.&lt;br /&gt;
** Fixed PNG files with alpha channel sometimes being all black.&lt;br /&gt;
** Fixed a cause of train desync.&lt;br /&gt;
** Fixed depth buffer shaders not working right with mirrors.&lt;br /&gt;
* '''1.3.3'''&lt;br /&gt;
** Anti-cheat updates&lt;br /&gt;
** Optimized streamer to work better with complex maps&lt;br /&gt;
** Smoothed fonts when scaling chat box&lt;br /&gt;
** Added option to scale HUD elements correctly for widescreen&lt;br /&gt;
** Added option to disable OS and graphic driver 'tweaks', as they can interfere with MTA&lt;br /&gt;
** Better compatibility with NVidia Optimus laptops&lt;br /&gt;
** Improved server performance&lt;br /&gt;
** Added setVehiclePlateText()&lt;br /&gt;
** Added dxSetAspectRatioAdjustmentEnabled() for draws that align with GTA Hud components&lt;br /&gt;
** Added server function getPlayerACInfo()&lt;br /&gt;
** Added onClientSoundStarted and onClientSoundStopped scripting events&lt;br /&gt;
** Fixed custom vehicle plate text not working for some vehicles&lt;br /&gt;
** Fixed setVehicleLandingGearDown() not always working&lt;br /&gt;
** Fixed GUI window remaining when you disconnect while starting local server&lt;br /&gt;
** Fixed incorrect server side vehicle engine state when driver warped in&lt;br /&gt;
** Fixed get/setMatrix() rotation order for streamed out objects&lt;br /&gt;
** Fixed onPlayerQuit event not being triggered on shutdown&lt;br /&gt;
** Fixed setJetpackWeaponEnabled() not disabling jetpack weapons&lt;br /&gt;
** Fixed toggleControl() not working for mta controls&lt;br /&gt;
** Fixed serverside toggleAllControls()&lt;br /&gt;
** Fixed GUI labels sometimes blocking input&lt;br /&gt;
** Fixed setElementPosition() for players vehicle sometimes causing freeze for few seconds&lt;br /&gt;
** Fixed a crash on disconnect&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
* [[Changes in 1.3]]&lt;br /&gt;
* [[Changes in 1.3.1]]&lt;br /&gt;
* [[Changes in 1.3.2]]&lt;br /&gt;
* [[Changes in 1.3.3]]&lt;br /&gt;
* [[Changes in 1.3.4]]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [https://code.google.com/p/mtasa-blue/source/browse/trunk/CHANGELOG Changelog] - Overview of all the changes since MTA: San Andreas 1.0dp1.&lt;br /&gt;
* [[MTA Vault]] - Overview of releases before MTA 0.5.&lt;br /&gt;
* [[Archive]] - Multi Theft Auto Archive.&lt;br /&gt;
&lt;br /&gt;
[[Category: Historical]]&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Changes_in_1.3.4&amp;diff=37085</id>
		<title>Changes in 1.3.4</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Changes_in_1.3.4&amp;diff=37085"/>
		<updated>2013-09-09T23:25:44Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Extra information */ A more secure future :p&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Changelogs}}&lt;br /&gt;
&lt;br /&gt;
== Main Additions / Changes ==&lt;br /&gt;
* Added &amp;quot;shared&amp;quot; export type in meta.xml&lt;br /&gt;
* Added Lua source encryption option&lt;br /&gt;
* Added the ability to cancel onClientKey&lt;br /&gt;
* Added escape to onClientKey (can't be cancelled twice in a row)&lt;br /&gt;
* Added SettingHUDMatchAspectRatio, SettingAspectRatio to dxGetStatus&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Client ===&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== New Functions ====&lt;br /&gt;
* Added [[playSFX]]&lt;br /&gt;
* Added [[playSFX3D]]&lt;br /&gt;
* Added [[getSFXStatus]]&lt;br /&gt;
* Added [[setHeliBladeCollisionsEnabled]]&lt;br /&gt;
* Added [[getHeliBladeCollisionsEnabled]]&lt;br /&gt;
* Added [[getEventHandlers]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== New Events ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes / Bug Fixes ====&lt;br /&gt;
* Fixed vehicle upgrades&lt;br /&gt;
* Fixed warpPedIntoVehicle causing desync when two players try to enter at the same time via vehicle_enter and warpPedIntoVehicle&lt;br /&gt;
* Fixed map editor crash&lt;br /&gt;
* Fixed debug filename for compiled scripts&lt;br /&gt;
* Fixed applying weapon mods may remove your weapon&lt;br /&gt;
* Fixed crash when streaming in tec-9 with a replaced weapon model&lt;br /&gt;
* Fixed console(F8) input focus begin lost sometimes&lt;br /&gt;
* Fixed building removal crashing after loading/unloading a model 16 times&lt;br /&gt;
* Fixed projectile-type weapons messing up ammo count&lt;br /&gt;
* fixed guiCreateFont fails each second time resource is started&lt;br /&gt;
* Fixed client ammo desync when using giveWeapon sometimes&lt;br /&gt;
* Fixed guiLabelGetTextExtent not working with unicode&lt;br /&gt;
* Fixed onColShapeHit isn't triggered for towed vehicles server side&lt;br /&gt;
* Fixed GUI scrollpanes and scrollbars don't trigger onClientMouseEnter/Leave&lt;br /&gt;
* Fixed warpPedIntoVehicle after cancelEvent() of onVehicleStartEnter causes network trouble&lt;br /&gt;
* Fixed onPedWasted not triggered, when ped died because the vehicle he was in, exploded.&lt;br /&gt;
* Fixed server createColPolygon&lt;br /&gt;
* Fixed a crash when destroying an object in onClientColShapeHit / onClientElementColShapeHit&lt;br /&gt;
* Fixed lightweight sync packet being misread on the client sometimes&lt;br /&gt;
* Fixed getLatentEventHandles sometimes returning false instead of an empty table&lt;br /&gt;
* Fixed setAccountData clips the digits after the decimal point&lt;br /&gt;
* Fixed peds/players being removed from vehicles that fall through the ground&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Server ===&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== New Functions ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== New Events ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes / Bug Fixes ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Resources ===&lt;br /&gt;
* Added sfxbrowser resource&lt;br /&gt;
* Fixed instant reload exploits for the reload resource&lt;br /&gt;
* Fixed 'Use LODs' option in the map editor resource&lt;br /&gt;
* Fixed various things in admin, acpanel, freeroam, parachute and race resources&lt;br /&gt;
&lt;br /&gt;
=== Editor ===&lt;br /&gt;
&lt;br /&gt;
==Extra information==&lt;br /&gt;
''More detailed information available on [https://bugs.multitheftauto.com/changelog_page.php Bug tracker Changelog] and Google Code repositories:&lt;br /&gt;
:* MTA:SA: from  [https://code.google.com/p/mtasa-blue/source/list?num=25&amp;amp;start=5609 r5593] to [https://code.google.com/p/mtasa-blue/source/list?num=25&amp;amp;start=5800 r5800]&lt;br /&gt;
:* Resources: [https://code.google.com/p/mtasa-resources/source/list?num=25&amp;amp;start=955 from r938 to r955]&lt;br /&gt;
:* [https://forum.mtasa.com/viewtopic.php?f=31&amp;amp;t=64990 MTASA 1.3.4 released.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Changelog]]&lt;br /&gt;
[[Category:Incomplete]]&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsSoundFinished&amp;diff=37084</id>
		<title>IsSoundFinished</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsSoundFinished&amp;diff=37084"/>
		<updated>2013-09-09T22:53:35Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Code */ Changed the var &amp;quot;sound&amp;quot; - &amp;quot;theSound&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
&amp;lt;lowercasetitle&amp;gt;&amp;lt;/lowercasetitle&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function check if sound finish.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isSoundFinish(  element theSound )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theSound''': The sound element which finish state you want to return.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the [[sound]] element is finished, ''false'' if unfinished or invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Code==&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 isSoundFinish ( theSound )&lt;br /&gt;
    local length = getSoundLength( theSound )&lt;br /&gt;
    local post = getSoundPosition( theSound )&lt;br /&gt;
    if (post==length) then&lt;br /&gt;
        return true&lt;br /&gt;
    else&lt;br /&gt;
        return false&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example will check and see if the sound is finished or not, and tell the player.&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;
theSound = playSound(&amp;quot;music/song.mp3&amp;quot;)&lt;br /&gt;
function checkSongFinish()&lt;br /&gt;
    local finish = isSoundFinished(theSound)&lt;br /&gt;
    if(finish == true) then&lt;br /&gt;
        outputChatBox(&amp;quot;The sound is finish!&amp;quot;)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;The sound is not finish!&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;checkfinish&amp;quot;, checkSongFinish)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Author: WASSIm.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetWeaponOwner&amp;diff=37083</id>
		<title>GetWeaponOwner</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetWeaponOwner&amp;diff=37083"/>
		<updated>2013-09-09T22:44:25Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Added an example section and added this function to &amp;quot;Needs Example&amp;quot; template.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
Get the owner of the custom weapon (used for lag compensation.)&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player getWeaponOwner ( weapon theWeapon )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theWeapon:''' The weapon to get the owner of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the ''player element'' of the custom weapon owner, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--TODO&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client weapon creation functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetWeaponFlags&amp;diff=37082</id>
		<title>GetWeaponFlags</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetWeaponFlags&amp;diff=37082"/>
		<updated>2013-09-09T22:43:37Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Added an example section and added this function to &amp;quot;Needs Example&amp;quot; template.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
Gets the flags of the custom weapon (used to determine what to hit)&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;value getWeaponFlags ( weapon theWeapon, string theFlag )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theWeapon:''' The weapon to set the flag of.&lt;br /&gt;
* '''theFlag:''' The weapon flag to get:&lt;br /&gt;
** bool disable_model disable the weapon model of the weapon&lt;br /&gt;
** flags edit the processLineOfSight flags used to find the hit position&lt;br /&gt;
** bool checkBuildings&lt;br /&gt;
** bool checkCarTires&lt;br /&gt;
** bool checkDummies&lt;br /&gt;
** bool checkObjects&lt;br /&gt;
** bool checkPeds&lt;br /&gt;
** bool checkVehicles&lt;br /&gt;
** bool checkSeeThroughStuff&lt;br /&gt;
** bool checkShootThroughStuff&lt;br /&gt;
** bool instant_reload reload the weapon instantly rather than doing a reload&lt;br /&gt;
** bool shoot_if_out_of_range shoot the target position if out of weapon range&lt;br /&gt;
** bool shoot_if_blocked shoot the target position if blocked&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the ''value(s)'' on success (flags have 8 values), ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--TODO&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client weapon creation functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetWeaponFlags&amp;diff=37081</id>
		<title>SetWeaponFlags</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetWeaponFlags&amp;diff=37081"/>
		<updated>2013-09-09T22:42:29Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Added an example section and added this function to &amp;quot;Needs Example&amp;quot; template.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
Set a custom weapons flags.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This is not the same as [[setWeaponProperty]]. These flags are different and can only be set for custom weapon types. You cannot set these flags for 'normal' weapons. This is true despite the ability in setWeaponProperty to set any number of supported [[Weapon Flags]].&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setWeaponFlags ( weapon theWeapon, string theFlag, value theValue )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theWeapon:''' the weapon to set the flag of&lt;br /&gt;
* '''theFlag:''' the weapon flag to set:&lt;br /&gt;
** bool disable_model disable the weapon model of the weapon&lt;br /&gt;
** flags edit the processLineOfSight flags used to find the hit position&lt;br /&gt;
** bool checkBuildings&lt;br /&gt;
** bool checkCarTires&lt;br /&gt;
** bool checkDummies&lt;br /&gt;
** bool checkObjects&lt;br /&gt;
** bool checkPeds&lt;br /&gt;
** bool checkVehicles&lt;br /&gt;
** bool checkSeeThroughStuff&lt;br /&gt;
** bool checkShootThroughStuff&lt;br /&gt;
** bool instant_reload reload the weapon instantly rather than doing a reload&lt;br /&gt;
** bool shoot_if_out_of_range shoot the target position if out of weapon range&lt;br /&gt;
** bool shoot_if_blocked shoot the target position if blocked&lt;br /&gt;
* '''theValue:''' the value to set&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' on success (flags have 8 values), ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--TODO&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client weapon creation functions}}&lt;br /&gt;
&lt;br /&gt;
sets the flags of the weapon ( used to determine what to hit )&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetWeaponOwner&amp;diff=37080</id>
		<title>SetWeaponOwner</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetWeaponOwner&amp;diff=37080"/>
		<updated>2013-09-09T22:37:23Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Added an example section and added this function to &amp;quot;Needs Example&amp;quot; template.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
Sets the owner (a player) of the custom weapon.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setWeaponOwner ( weapon theWeapon, player theOwner )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theWeapon:''' The weapon to set the owner of&lt;br /&gt;
* '''theOwner:''' The weapon owner&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' on success, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--TODO&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client weapon creation functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateWeapon&amp;diff=36986</id>
		<title>CreateWeapon</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateWeapon&amp;diff=36986"/>
		<updated>2013-08-27T06:30:41Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Examples */  No point of the section as it's already a client function&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Needs_Checking|&amp;quot;Some weapon types do not work.&amp;quot;... needs investigating. Shotguns do not work because the pellet code was complex and its actually 8 very clustered pellets. All other bullet weapons should work and be synced. Exact weapons this works with needs documenting still.}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
Creates a custom weapon that can fire bullets not related to player held weapons.&lt;br /&gt;
'''Note:''' Some weapon types do not work.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;weapon createWeapon ( string theType, float x, float y, float z )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theType:''' The weapon type which can be:&lt;br /&gt;
{{Custom Weapon Types}}&lt;br /&gt;
&lt;br /&gt;
* '''x:''' The x position to create the weapon.&lt;br /&gt;
* '''y:''' The y position to create the weapon.&lt;br /&gt;
* '''z:''' The z position to create the weapon.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a custom weapon [[element]] type and creates a simulated weapon at that position.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
&lt;br /&gt;
==Examples ==&lt;br /&gt;
'''Example 1:''' This example create weapon and firing.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createMinigunWeapon()&lt;br /&gt;
    local x, y, z = getElementPosition(getLocalPlayer())&lt;br /&gt;
    local weapon = createWeapon(&amp;quot;minigun&amp;quot;, x, y, z + 1)&lt;br /&gt;
    setWeaponClipAmmo ( weapon,99999)&lt;br /&gt;
    setWeaponState ( weapon,&amp;quot;firing&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;createminigun&amp;quot;, createMinigunWeapon)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client weapon creation functions}}&lt;br /&gt;
[[ru:createWeapon]]&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiSetInputEnabled&amp;diff=36985</id>
		<title>GuiSetInputEnabled</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiSetInputEnabled&amp;diff=36985"/>
		<updated>2013-08-27T06:26:50Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */ No point of the section as it's already a client function.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function enables or disables input focus for the GUI.  This means that any keybinds or MTA binds are overidden so that text can be input into an editbox, for example.  In other words, keys such as ''t'' and ''y'' which activate the chatbox are disabled.&lt;br /&gt;
&lt;br /&gt;
{{New feature|3.0110|1.1|&lt;br /&gt;
[[guiSetInputMode]] can be used as an extended version of ''guiSetInputEnabled'' since it provides the same functionality with one added feature.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool guiSetInputEnabled ( bool enabled )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''enabled:''' true if input should go to GUI, false if it should go to the game.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if input mode could be changed, ''false'' if invalid parameters are passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example enables or disables the Input.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function setInputState()&lt;br /&gt;
	guiSetInputEnabled(not guiGetInputEnabled()) -- Disable the Input if Enabled, either Enable it.&lt;br /&gt;
	outputChatBox(&amp;quot;The input is now &amp;quot;.. (guiGetInputEnabled() and &amp;quot;Enabled&amp;quot; or &amp;quot;Disabled&amp;quot;) ..&amp;quot;.&amp;quot;) -- Output the new Input state.&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;input&amp;quot;,setInputState) -- Add the command handler attached to the function &amp;quot;setInputState&amp;quot;.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiSetInputMode&amp;diff=36984</id>
		<title>GuiSetInputMode</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiSetInputMode&amp;diff=36984"/>
		<updated>2013-08-27T06:25:18Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */ No point of the section as it's already a client function.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function controls the input mode to define whether or not (and when) keybinds or MTA binds are overridden (disabled) so that text can be input into an editbox, for example.&lt;br /&gt;
The binds can be either: &lt;br /&gt;
* never disabled (hence using a key such as t in an editbox will still activate the chatbox)&lt;br /&gt;
* always disabled (hence using a key such as t in an editbox will not activate the chatbox)&lt;br /&gt;
* only disabled when actually editing an editbox or a memo (binds are always enabled except when an editbox or memo has input focus)&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool guiSetInputMode ( string mode )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''mode:''' a string representing the desired input mode. Accepted values are:&lt;br /&gt;
** '''&amp;quot;allow_binds&amp;quot;:''' binds are enabled, hence using a key such as t in an editbox will still activate the chatbox (default)&lt;br /&gt;
** '''&amp;quot;no_binds&amp;quot;:''' binds are disabled, hence using a key such as t in an editbox will not activate the chatbox&lt;br /&gt;
** '''&amp;quot;no_binds_when_editing&amp;quot;:''' binds are always enabled except when an editable editbox or memo has input focus&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if input mode could be changed, ''false'' if invalid parameters are passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement(getThisResource()),&lt;br /&gt;
function()&lt;br /&gt;
	guiSetInputMode(&amp;quot;no_binds_when_editing&amp;quot;) --Calls guiSetInputMode once and for all to not have to handle binds state dynamically&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Note==&lt;br /&gt;
This function, introduced in 1.1, can be used as a replacement of [[guiSetInputEnabled]] since it provides the same functionality with one added feature.&lt;br /&gt;
* ''guiSetInputEnabled ( false )'' is the same as ''guiSetInputMode ( &amp;quot;allow_binds&amp;quot; )''&lt;br /&gt;
* ''guiSetInputEnabled ( true )'' is the same as ''guiSetInputMode ( &amp;quot;no_binds&amp;quot; )''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=FetchRemote&amp;diff=36964</id>
		<title>FetchRemote</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=FetchRemote&amp;diff=36964"/>
		<updated>2013-08-24T16:44:14Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Optional Arguments */ Arrange in the same order as the function Arguments&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function allows you to post and receive data from HTTP servers. The calls are asynchronous so you do not get an immediate result from the call, instead a callback function you specify is called when the download completes.&lt;br /&gt;
&lt;br /&gt;
In the case when the call fails, a string containing &amp;quot;ERROR&amp;quot; followed by an integer containing the error reason will be passed to the callback function. The reason for failure will be similar to errors found with websites - file not found, server not found and timeouts.&lt;br /&gt;
&lt;br /&gt;
If you are using fetchRemote to connect to a PHP script, you can use ''file_get_contents(&amp;quot;php://input&amp;quot;)'' to read the '''postData''' sent from this function.&lt;br /&gt;
{{Note|Client side function only works with the server the player is connected to}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool fetchRemote ( string URL[, int connectionAttempts = 10 ], callback callbackFunction, [ string postData = &amp;quot;&amp;quot;, bool postIsBinary = false, [ arguments... ] ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''URL:''' A full URL in the format ''&amp;lt;nowiki&amp;gt;http://hostname/path/file.ext&amp;lt;/nowiki&amp;gt;''. A port can be specified with a colon followed by a port number appended to the hostname.&lt;br /&gt;
*'''callbackFunction:''' This is the function that should receive the data returned from the remote server. The callback argument list should be:&lt;br /&gt;
**'''''responseData''''' - A string containing the remote response or &amp;quot;ERROR&amp;quot; if there was a problem&lt;br /&gt;
**'''''errno''''' - A number containing the error number or zero if there was no error. A list of possible error values are:&lt;br /&gt;
{{Error_codes_for_callRemote_and_fetchRemote}}&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left:19px;&amp;quot;&amp;gt;&lt;br /&gt;
*'''''arguments...''''' - The arguments that were passed into fetchRemote&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''connectionAttempts:''' Number of times to retry if the remote host does not respond. ''In the case of a non-responding remote server, each connection attempt will timeout after 6 seconds. Therefore, the default setting of 10 connection attempts means it will be 60 seconds before your script gets a callback about the error. Reducing this value to 2 for example, will decrease that period to 12 seconds''&lt;br /&gt;
*'''postData:''' A string specifying any data you want to send to the remote HTTP server.&lt;br /&gt;
*'''postIsBinary :''' A boolean specifying if the data is text, or binary.&lt;br /&gt;
*'''arguments:''' Any arguments you may want to pass to the callback.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the arguments are correct, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example shows you how you can fetch an image from a web page, and transfer it to a particular client:&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&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;
&lt;br /&gt;
function startImageDownload( playerToReceive )&lt;br /&gt;
    fetchRemote ( &amp;quot;http://www.example.com/image.jpg&amp;quot;, myCallback, &amp;quot;&amp;quot;, false, playerToReceive )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function myCallback( responseData, errno, playerToReceive )&lt;br /&gt;
    if errno == 0 then&lt;br /&gt;
        triggerClientEvent( playerToReceive, &amp;quot;onClientGotImage&amp;quot;, resourceRoot, responseData )&lt;br /&gt;
    end&lt;br /&gt;
end&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;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;
addEvent( &amp;quot;onClientGotImage&amp;quot;, true )&lt;br /&gt;
addEventHandler( &amp;quot;onClientGotImage&amp;quot;, resourceRoot,&lt;br /&gt;
    function( pixels )&lt;br /&gt;
        if myTexture then&lt;br /&gt;
            destroyElement( myTexture )&lt;br /&gt;
        end&lt;br /&gt;
        myTexture = dxCreateTexture( pixels )&lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
addEventHandler(&amp;quot;onClientRender&amp;quot;, root,&lt;br /&gt;
    function()&lt;br /&gt;
        if myTexture then&lt;br /&gt;
            local w,h = dxGetMaterialSize( myTexture )&lt;br /&gt;
            dxDrawImage( 200, 100, w, h, myTexture )&lt;br /&gt;
        end&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;
==Requirements==&lt;br /&gt;
{{Requirements|1.3.0-9.03739|1.3.2|}}&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.1-9.04605|Added connectionAttempts argument}}&lt;br /&gt;
{{ChangelogItem|1.3.2|Added client side}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Resource_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules&amp;diff=36929</id>
		<title>Modules</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules&amp;diff=36929"/>
		<updated>2013-08-18T19:34:22Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Modules SDK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Modules are extensions for Multi Theft Auto's Lua core, allowing the integration and use of custom Lua functions that have been written in C++, and compiled as a DLL or SO file. Modules are commonly used to create functions for such purposes that Multi Theft Auto lacks, such as sockets. All modules listed here are not distributed with Multi Theft Auto, and must be manually installed.&lt;br /&gt;
&lt;br /&gt;
==Modules list==&lt;br /&gt;
You can view a list of all the documented modules in this wiki [[:Category:Modules|here]].&lt;br /&gt;
&lt;br /&gt;
==Modules SDK==&lt;br /&gt;
To be able to create your own modules, you must use the Modules SDK. You can download it from one of the links below - choose a link in accordance with your server's operating system.&lt;br /&gt;
&lt;br /&gt;
* Linux&lt;br /&gt;
** [http://files.mtasa.com/apps/1.0/dm/ml_devkit.tar.gz Official]&lt;br /&gt;
* Microsoft Windows&lt;br /&gt;
** [http://www.mediafire.com/?b8b3asgegn0xkm4 Mirror (Mediafire)]&lt;br /&gt;
** [http://hosting.jworld137.com/files/ml_devkit.zip Mirror (JWorld137 Hosting)]&lt;br /&gt;
&lt;br /&gt;
===SDK Functions===&lt;br /&gt;
*Currently in there:&lt;br /&gt;
**Base:&lt;br /&gt;
***HelloWorld&lt;br /&gt;
**MySQL&lt;br /&gt;
***MySQLCreate&lt;br /&gt;
***MySQLOpen&lt;br /&gt;
***MySQLDestroy&lt;br /&gt;
***MySQLQuery&lt;br /&gt;
***MySQLSafeString&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;br /&gt;
[[Category:Incomplete]]&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[pt-br:Módulos]]&lt;br /&gt;
[[ru:Modules]]&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&amp;diff=36778</id>
		<title>Template:Useful Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&amp;diff=36778"/>
		<updated>2013-07-26T19:30:44Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Re-Organized Alphabetically&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[callClientFunction]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to call any clientside function from the server's side.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[callServerFunction]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to call any server-side function from the client's side.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[centerWindow]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function center the window in any resolution.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[Check]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if it's arguments are of the right types and calls the error-function if one isn't.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[convertNumber]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts large numbers and adds commas to it. (Example: 100000 -&amp;gt; 100,000)&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[coroutine.resume]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Fix for hidden coroutine error messages&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawColorText]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a dx text with #RRGGBB color codes support.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawGifImage]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function simulates the effect of a GIF image by using image sprites.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawImage3D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a 3D image.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawRectangle3D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a 3D rectangle.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxGetFontSizeFromHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function calculate a font size from given height for dxDraw.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxGetRealFontHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Accurately measures the pixel height of a font.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[findRotation]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Takes two points and returns the direction from point A to point B.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[FormatDate]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Formats a date on the basis of a format string and returns it.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[GenerateString]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» With this function you can generate a random string with any characters.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAge]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function calculates the age of a birthday.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAlivePlayers (Client)|getAlivePlayers]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns all the alive players by a client side, so you can store them into a Gridlist or something like that, faster.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAlivePlayersInTeam]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of the alive players in a team.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getCursorMoveOn]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks in which way the cursor is currently moving.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getDistanceBetweenPointAndSegment2D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Takes point coordinates and line (a segment) starting and ending coordinates. It returns the shortest distance between the point and the line.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getElementSpeed]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get element speed in kph or mph units.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getElementsWithinMarker]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function gets the elements that are in a markers colshape.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getJetpackWeaponsEnabled]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of enabled weapons usable on a jetpack.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOffsetFromXYZ]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to take an entity and a position and calculate the relative offset between them accounting for rotations.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOnlineAdmins]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function will give the online admins.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOnlineStaff]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns all online staff, names separated by two spaces.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayersByData]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function gets players who have data name you passed to it.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayerFromNamePart]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get player From his Name part.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayersInPhotograph]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function gets all the players in a photograph.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayerFromSerial]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function gets an online player from their serial.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPointFromDistanceRotation]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Finds a point based on a starting point, direction and distance.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getResourceSettings]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of the resource settings.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getTeamFromColor]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function gets a team from it's color. (Related to: [[getTeamFromName]])&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getTimestamp]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» With this function you can get the UNIX timestamp.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getXMLNodes]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns all children of a node&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getVehicleRespawnPosition]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get the spawn position of a vehicle.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[guiComboBoxAdjustHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Adjusts the combobox to have a correct height.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[IfElse]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns one of two values based on a boolean expression.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementInPhotograph]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if an element was in the player's camera picture.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementInRange]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to check is the element's range to the main point is smaller than (or as big as) the maximum range.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementMoving]]&amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if an element is moving.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementWithinAColShape]]&amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if the [[element]] is in a [[colshape]].&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isPedAiming]]&amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if a ped is aiming.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isPlayerInTeam]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check if the player in the team.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isLeapYear]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Checks if the given year is a leap year.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isVehicleOnRoof]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks whether vehicle is on roof.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isVehicleEmpty]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks whether a vehicle is empty.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[iterElements]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns an iterator for your for loops saving time typing ipairs( getElementsByType( type ) ), instead you type: iterElements( type ).&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[mathNumber]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function is a workaround for the clientside floating-point precision of 24-bits&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[math.round]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Rounds a number whereas the number of decimals to keep and the method may be set.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[multi_check]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks one element to many, handy and clean.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[onVehicleWeaponFire]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This code implements an event that is triggered when a player in a vehicle fires a vehicles weapon.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[RGBToHex]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a string representing the color in hexadecimal.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setElementSpeed]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to set moving element speed in kph or mph units.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setTableProtected]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Protects a table and makes it read-only.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setVehicleGravityPoint]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This clientside function sets a vehicle's gravity in the direction of a 3 dimensional coordinate with the strength specified.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[smoothMoveCamera]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This clientside function allows you to create a cinematic camera flight.&lt;br /&gt;
*[[string.count]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function counts a text from a text.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[string.explode]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function splits a string at a given separator pattern and returns a table with the pieces.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[switch]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allow the value of a variable or expression to control the flow of program execution via a multiway branch.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.copy]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function copies a whole table and all the tables in that table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.compare]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check if both tables is equal. &amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.empty]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check is empty table or not.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.map]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function goes through a table and replaces every field with the return of the passed function, where the field's value is passed as first argument and optionally more arguments.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.random]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function retrieves a random variable from a table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.size]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Finds the absolute size of a table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[toHex]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts a decimal number to a hexadecimal number, as a fix to be used clientside.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[var dump]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function outputs information about one or more variables using outputConsole()&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[wavelengthToRGBA]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts a phisical wavelength of light to a RGBA color.&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Category:Useful Functions]]&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientWeaponFire&amp;diff=36729</id>
		<title>OnClientWeaponFire</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientWeaponFire&amp;diff=36729"/>
		<updated>2013-07-23T23:20:06Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */ No point of section as it's already only client-sided&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event will be triggered once a client fires his weapon.&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element hitElement, float posX,  float posY, float posZ, float normalX, float normalY, float normalZ, int materialType, int lighting, int pieceHit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''hitElement:''' the element that was hit&lt;br /&gt;
*'''posX:''' the position it will hit&lt;br /&gt;
*'''posY:''' the position it will hit&lt;br /&gt;
*'''posZ:''' the position it will hit&lt;br /&gt;
*'''normalX:''' the normal it hit ( see processLineOfSight )&lt;br /&gt;
*'''normalY:''' the normal it hit ( see processLineOfSight )&lt;br /&gt;
*'''normalZ:''' the normal it hit ( see processLineOfSight )&lt;br /&gt;
*'''materialType:''' the material type it hit ( see processLineOfSight )&lt;br /&gt;
*'''lighting:''' the lighting of the entity it hit ( see processLineOfSight )&lt;br /&gt;
*'''pieceHit:''' the piece of the entity it hit ( see processLineOfSight )&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the weapon that was fired.&lt;br /&gt;
&lt;br /&gt;
==Cancel Effect==&lt;br /&gt;
If this event was [[Event system#Canceling|canceled]], then the weapon will not fire.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example prevents the player from firing a Deagle.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function noDeagle()&lt;br /&gt;
	local weaponID = getElementModel(source) &lt;br /&gt;
	-- Gets the ID of the weapon.&lt;br /&gt;
	if weaponID == 24 then &lt;br /&gt;
		-- If the weapon ID is of the Deagle's then cancel the event.&lt;br /&gt;
		cancelEvent() &lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientWeaponFire&amp;quot;, getRootElement(), noDeagle)&lt;br /&gt;
-- Attach the event 'onClientWeaponFire' to the function.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ToggleAllControls&amp;diff=36728</id>
		<title>ToggleAllControls</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ToggleAllControls&amp;diff=36728"/>
		<updated>2013-07-23T20:15:33Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Enables or disables the use of all GTA controls for a specified player.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool toggleAllControls ( player thePlayer, bool enabled, [ bool gtaControls = true, bool mtaControls = true ] ) &amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player you wish to toggle the control ability of.&lt;br /&gt;
*'''enabled:''' A boolean value representing whether or not the controls will be usable.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguemnts===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
*'''gtaControls:''' A boolean deciding whether the ''enabled'' parameter will affect GTA's internal controls.&lt;br /&gt;
*'''mtaControls:''' A boolean deciding whether the ''enabled'' parameter will affect MTA's own controls., e.g. chatbox.&lt;br /&gt;
&amp;lt;/section&amp;gt;&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;bool toggleAllControls ( bool enabled, [ bool gtaControls = true, bool mtaControls = true ] ) &amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''enabled:''' A boolean value representing whether or not the controls will be usable.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguemnts===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
*'''gtaControls:''' A boolean deciding whether the ''enabled'' parameter will affect GTA's internal controls.&lt;br /&gt;
*'''mtaControls:''' A boolean deciding whether the ''enabled'' parameter will affect MTA's own controls., e.g. chatbox.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
This function returns ''true'' if controls were toggled successfully, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==  &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This function will disable the use of all controls in order to freeze a player, which will be used every time someone enters a vehicle.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function freezeThisDude ( thePlayer, freezeTime )&lt;br /&gt;
    toggleAllControls ( thePlayer, false )                         -- disable this player's controls&lt;br /&gt;
    setTimer ( toggleAllControls, freezeTime, 1, thePlayer, true ) -- enable this player's controls after the specified time&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function freezeOnEnterVehicle ( theVehicle, seat, jacked )&lt;br /&gt;
    freezeThisDude ( source, 5000 ) -- 'freeze' him for 5000ms = 5 seconds&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerVehicleEnter&amp;quot;, getRootElement(), freezeOnEnterVehicle )&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;
{{Input functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HandlingGetSuspensionFrontRearBias&amp;diff=36718</id>
		<title>HandlingGetSuspensionFrontRearBias</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HandlingGetSuspensionFrontRearBias&amp;diff=36718"/>
		<updated>2013-07-19T16:42:42Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
Returns the suspension bias 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 handlingGetSuspensionFrontRearBias ( handling theHandling )&lt;br /&gt;
float handlingGetSuspensionFrontRearBias ( 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 suspension bias, ''or''&lt;br /&gt;
*'''vehicleID:''' the vehicle ID of which you want to get the suspension bias.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If you specified a handling element, returns its suspension bias if one is set, or ''nil'' otherwise. If you specified a vehicle ID, returns the suspension bias that currently applies to vehicles of that ID. Returns ''false'' in case of failure.&lt;br /&gt;
&lt;br /&gt;
The suspension bias is a number between 0 and 1. If it's 0, the back tires have all the suspension and the front tires have none. If it's 1, the front tires have suspension and the back tires have none. If it's 0.5, front and back tires have the same suspension strength.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&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>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetWeaponClipAmmo&amp;diff=36717</id>
		<title>SetWeaponClipAmmo</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetWeaponClipAmmo&amp;diff=36717"/>
		<updated>2013-07-19T16:26:57Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Added example header and Needs Example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
Set the ammo in a custom weapons magazine/clip.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setWeaponClipAmmo ( weapon theWeapon, int clipAmmo )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theWeapon:''' The weapon to set the clip ammo of.&lt;br /&gt;
* '''clipAmmo:''' The amount of ammo in the clip.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' on success, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--ToDo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client weapon creation functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HandlingSetABS&amp;diff=36716</id>
		<title>HandlingSetABS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HandlingSetABS&amp;diff=36716"/>
		<updated>2013-07-19T16:21:18Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Needs an example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
Turns ABS on or off for a handling element.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool handlingSetABS ( handling theHandling, bool ABS )&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 toggle the ABS.&lt;br /&gt;
*'''ABS:''' ''true'' to turn ABS on, ''false'' to turn it off.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' on success, ''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;
--TODO&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>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedClothes&amp;diff=36715</id>
		<title>SetPedClothes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedClothes&amp;diff=36715"/>
		<updated>2013-07-19T16:20:29Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */  &amp;quot;/&amp;quot; is not needed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
&amp;lt;lowercasetitle/&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows you set a ped's clothes with just the slot and clothing index, allowing you to forget about texture and model names.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setPedClothes(ped thePed, int clothingSlot, int/bool clothingID)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''thePed''': The ped to dress up.&lt;br /&gt;
* '''clothingSlot''': The clothing slot to change. See the [[CJ Clothes|clothes catalog]] for more info.&lt;br /&gt;
* '''clothingID''': The clothing ID to set the slot to, or false to remove clothing from this slot (only applicable to slot IDs &amp;gt; 3). See the [[CJ Clothes|clothes catalog]] for more info.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
This function returns ''true'' if the clothes were set successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;section 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 setPedClothes(thePed, clothingSlot, clothingID)&lt;br /&gt;
	if not isElement(thePed) or type(clothingSlot) ~= &amp;quot;number&amp;quot; then&lt;br /&gt;
		error(&amp;quot;Invalid arguments to setPedClothes()!&amp;quot;, 2)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if not clothingID then&lt;br /&gt;
		return removePedClothes(thePed, clothingSlot)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local hasClothes = getPedClothes(thePed, clothingSlot) &lt;br /&gt;
	if hasClothes then&lt;br /&gt;
		removePedClothes(thePed, clothingSlot)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local texture, model = getClothesByTypeIndex(clothingSlot, clothingID)&lt;br /&gt;
	return addPedClothes(thePed, texture, model, clothingSlot)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example adds a '/setClothes [slot] [id]' command.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local function clothesCommand(player, slot, id)&lt;br /&gt;
	if not tonumber(slot) then&lt;br /&gt;
		outputChatBox(&amp;quot;SYNTAX: /setClothes [slot] [id]&amp;quot;, player, 255, 0, 0)&lt;br /&gt;
		return&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	setPedClothes(player, slot, id)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;setClothes&amp;quot;, clothesCommand)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Author: John&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetWeaponFiringRate&amp;diff=36714</id>
		<title>GetWeaponFiringRate</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetWeaponFiringRate&amp;diff=36714"/>
		<updated>2013-07-19T16:16:03Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: Added example header and Needs Example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
Gets the firing rate to be used when you set the custom weapon to the firing state.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getWeaponFiringRate ( weapon theWeapon )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theWeapon:''' The weapon to modify the firing rate of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''integer'' with the firing rate of the custom weapon, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--ToDo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client weapon creation functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=MakePedUseGun&amp;diff=36713</id>
		<title>MakePedUseGun</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MakePedUseGun&amp;diff=36713"/>
		<updated>2013-07-19T16:13:17Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{DeprecatedWithAlt|setPedControlState|}}&lt;br /&gt;
This function is used to force a ped to use a gun. '''This function does not appear to work,''' to make a ped use a weapon use [[setPedControlState]] instead.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool makePedUseGun ( ped thePed, int useType, element target )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' The [[ped]] you wish to force the use of a gun upon.&lt;br /&gt;
*'''useType:''' How the weapon should be used, will accept the following values:&lt;br /&gt;
** '''0:''' Do nothing&lt;br /&gt;
** '''1:''' Aim weapon&lt;br /&gt;
** '''2:''' Fire&lt;br /&gt;
** '''3:''' Burst-fire&lt;br /&gt;
** '''4:''' Reload&lt;br /&gt;
** '''5:''' Pistolwhip (Weapon melee)&lt;br /&gt;
** '''6:''' Cancel use&lt;br /&gt;
** '''7:''' Cancel use immediately&lt;br /&gt;
*'''target:''' An [[element]] referring to the target that the ped will use its weapon against. &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the command was successful, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--ToDo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_ped_functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsElementDoubleSided&amp;diff=36712</id>
		<title>IsElementDoubleSided</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsElementDoubleSided&amp;diff=36712"/>
		<updated>2013-07-19T16:12:35Z</updated>

		<summary type="html">&lt;p&gt;Jaysds1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function checks whether an element is double-sided as set by [[setElementDoubleSided]] or not.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isElementDoubleSided ( element theElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theElement:''' The element in which you'd like to check the double-sidedness of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the '''theElement''' is double-sided, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--ToDo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>Jaysds1</name></author>
	</entry>
</feed>