<?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=Shmorf</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=Shmorf"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Shmorf"/>
	<updated>2026-04-28T09:08:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User_talk:AnubhavTheWiki&amp;diff=38804</id>
		<title>User talk:AnubhavTheWiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User_talk:AnubhavTheWiki&amp;diff=38804"/>
		<updated>2014-02-04T14:25:10Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Please move to the Tutorials sub-category on the forums.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I suggest you to move your 'tutorial' to a special sub-category called 'Tutorials' in the Scripting category on the forums before this shit gets deleted from the Wiki. ( https://forum.mtasa.com/viewforum.php?f=148 )&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Element&amp;diff=37653</id>
		<title>Element</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Element&amp;diff=37653"/>
		<updated>2013-11-25T16:21:05Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Another undo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An '''element''' is a generic class that can represent almost all in-game [[entity|entities]]. The built-in element types are:&lt;br /&gt;
&lt;br /&gt;
{{Elements}}&lt;br /&gt;
&lt;br /&gt;
Any other element type can be created as an abstract element, not referring to any game [[entity]]. For example, '''resource''' and '''map''' elements are created when resources and maps are loaded to group entities they create as their children.&lt;br /&gt;
&lt;br /&gt;
Elements share common functions such as type and list retrieval, a destroy operation to remove both the element and the game entity it is linked to (except for some elements which can't be destroyed, for example client elements), [[element data]] storing and retrieval, and many more common operations.&lt;br /&gt;
&lt;br /&gt;
All elements are stored internally in a [[Element tree|tree structure]], and as such every element except the '''root''' element has a parent element, that can be the '''root''' element, a '''resource''', '''map''' or another element. This is purely for declaring the scope of function calls.&lt;br /&gt;
&lt;br /&gt;
==Related scripting functions==&lt;br /&gt;
===Client===&lt;br /&gt;
{{Client element functions}}&lt;br /&gt;
===Server===&lt;br /&gt;
{{Element functions}}&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;br /&gt;
&lt;br /&gt;
[[it:Elemento]]&lt;br /&gt;
[[ru:Element]]&lt;br /&gt;
[[es:Elemento]]&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Element_tree&amp;diff=37652</id>
		<title>Element tree</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Element_tree&amp;diff=37652"/>
		<updated>2013-11-25T16:20:23Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Undo´d a useless edit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Tre.png|frame|Element tree]]&lt;br /&gt;
MTA uses a so-called ''element tree'' to store all the elements that exist on the server and the client. This is directly related to the set of running [[resources]] and their map files' XML layout, although it can be changed at run-time by scripts.&lt;br /&gt;
&lt;br /&gt;
If you are familiar with the concept of ''trees'' in computer-science, this should be easy to understand. If you are not, think of it like a family tree - except everyone only has a single parent. Every [[element]] has a ''parent'' element.&lt;br /&gt;
&lt;br /&gt;
All elements that are created within scripts or from .map files are child elements of the resource they belong to. Thus, most elements (except for [[client]]s) exist only within resources and are also destroyed as soon as their resource is stopped.&lt;br /&gt;
&lt;br /&gt;
==Tree elements==&lt;br /&gt;
* '''root''': This is at the very base of the tree - all elements are children (or descendants) of this element.&lt;br /&gt;
* '''resource''': These are direct children of the root element - with one for each ''running'' resource. This element is called the ''resource root''. Its ID holds the name of the resource.&lt;br /&gt;
* '''map''': Each resource element contains at least one map element, representing either a &amp;quot;.map&amp;quot; file in the resource or the one containing the elements created by scripts (this is called the ''dynamic'' map). Their IDs contain the maps' filenames, or ''dynamic'' for the dynamic map.&lt;br /&gt;
** Map files can contain a number of other [[element]]s as well as an unlimited number of custom elements.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This in an example of a serverside tree dumped to XML from a running server.&lt;br /&gt;
''Please note that it is shortened on some places for the sake of overview.''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;root&amp;gt;&lt;br /&gt;
	&amp;lt;console/&amp;gt;&lt;br /&gt;
	&amp;lt;player dontRespawn=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;player dontRespawn=&amp;quot;false&amp;quot; lastSpawnarea=&amp;quot;&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;resource id=&amp;quot;resourcebrowser&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;resource id=&amp;quot;ajax&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;resource id=&amp;quot;resourcemanager&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;resource id=&amp;quot;spawnmanager&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;resource id=&amp;quot;mapmanager&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;resource id=&amp;quot;runcode&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;resource id=&amp;quot;fr&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;map id=&amp;quot;dynamic&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;vehicle/&amp;gt;&lt;br /&gt;
		&amp;lt;/map&amp;gt;&lt;br /&gt;
	&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;resource id=&amp;quot;elementbrowser&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;resource id=&amp;quot;assault&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;map id=&amp;quot;dynamic&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;team/&amp;gt;&lt;br /&gt;
			&amp;lt;team/&amp;gt;&lt;br /&gt;
			&amp;lt;blip/&amp;gt;&lt;br /&gt;
			&amp;lt;marker/&amp;gt;&lt;br /&gt;
			&amp;lt;colshape/&amp;gt;&lt;br /&gt;
			&amp;lt;blip/&amp;gt;&lt;br /&gt;
			&amp;lt;blip/&amp;gt;&lt;br /&gt;
		&amp;lt;/map&amp;gt;&lt;br /&gt;
	&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;resource id=&amp;quot;as-farm&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;map id=&amp;quot;dynamic&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;map id=&amp;quot;as-farm.map&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;spawngroup req=&amp;quot;&amp;quot; type=&amp;quot;attacker&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;spawnarea posY=&amp;quot;-8.3976354598999&amp;quot; posX=&amp;quot;20.182683944702&amp;quot; skins=&amp;quot;9&amp;quot; ... /&amp;gt;&lt;br /&gt;
			&amp;lt;/spawngroup&amp;gt;&lt;br /&gt;
			&amp;lt;spawngroup req=&amp;quot;&amp;quot; type=&amp;quot;attacker&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;spawnarea posY=&amp;quot;32.166355133057&amp;quot; posX=&amp;quot;-46.90763092041&amp;quot; skins=&amp;quot;9&amp;quot; ... /&amp;gt;&lt;br /&gt;
			&amp;lt;/spawngroup&amp;gt;&lt;br /&gt;
			&amp;lt;spawngroup req=&amp;quot;&amp;quot; type=&amp;quot;attacker&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;spawnarea posY=&amp;quot;35.214984893799&amp;quot; posX=&amp;quot;-33.486911773682&amp;quot; skins=&amp;quot;9&amp;quot; ... /&amp;gt;&lt;br /&gt;
			&amp;lt;/spawngroup&amp;gt;&lt;br /&gt;
			&amp;lt;spawngroup req=&amp;quot;&amp;quot; type=&amp;quot;attacker&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;spawnarea posY=&amp;quot;35.214984893799&amp;quot; posX=&amp;quot;-33.486911773682&amp;quot; skins=&amp;quot;9&amp;quot; ... /&amp;gt;&lt;br /&gt;
			&amp;lt;/spawngroup&amp;gt;&lt;br /&gt;
			&amp;lt;objective id=&amp;quot;first&amp;quot; type=&amp;quot;checkpoint&amp;quot; description=&amp;quot;Breach into the farm&amp;quot; ... /&amp;gt;&lt;br /&gt;
			&amp;lt;pickup type=&amp;quot;weapon&amp;quot; ... /&amp;gt;&lt;br /&gt;
		&amp;lt;/map&amp;gt;&lt;br /&gt;
	&amp;lt;/resource&amp;gt;&lt;br /&gt;
&amp;lt;/root&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===Explanation===&lt;br /&gt;
This tree consists of a number of resource root elements, the [[Element/Console|server console]] and two [[player]] elements, that are direct children of the '''root''' element. All these resources have a ''dynamic map'' as child element (it is just not shown for most of them). These contain the elements that are created dynamically by this resource using scripts, for example a [[vehicle]]. If the resource has a map file, it is also a child element, itself containing all the elements in the .map file.&lt;br /&gt;
&lt;br /&gt;
Let's have a closer look at the '''assault''' resource: This contains just one ''dynamic'' map that has 2 teams, 3 blips, 1 marker and 1 colshape as child elements. These are the elements that are created by the script, for example the marker, the colshape and one of the blips are probably used for the objective.&lt;br /&gt;
&lt;br /&gt;
The '''as-farm''' resource's function on the contrary is to be a map for the '''assault''' gamemode. The dynamic map is empty (it could contain elements if there was a script in it though), while there is a map called 'as-farm.map', that contains a number of elements. These are mostly custom elements (like spawngroup, spawnarea, objective) but also a few elements that MTA creates automactically after loading the map (like pickup). In the brackets after the element type, you can see the element data it contains. These are identical with the attributes the .map file contains within these elements, while you can also set and get element data for any other elements (e.g. players) with [[setElementData]] and [[getElementData]].&lt;br /&gt;
&lt;br /&gt;
==Pratical application==&lt;br /&gt;
Elements can have as many children as they like. This does not directly affect the map in any way, but it comes in to its own when combined with the scripting system.&lt;br /&gt;
&lt;br /&gt;
===Setting data for elements===&lt;br /&gt;
If you call a set... function on a node of the element tree, the function will affect every element within it (that it can work on).&lt;br /&gt;
&lt;br /&gt;
So, the following code would set the size of every marker (the only type of element the setMarkerSize function can work on) that is below the root element to ''2.5''.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMarkerSize ( getRootElement(), 2.5 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The same can be done on any element, it is not restricted to the root element.&lt;br /&gt;
&lt;br /&gt;
===Map manager===&lt;br /&gt;
The [[#Example|example above]] shows the way the [[map manager]] uses different resources. The 'assault' resource is the gamemode, that manages what happens on the server using scripts and thus by creating elements in the tree dynamically. When a map resource is started, the gamemode receives a [[resource|resource pointer]] referring to the started resource - in this case ''as-farm'' - from which you can retrieve and store the resource root element. Using this element in conjunction with functions like [[getElementsByType]], [[getElementData]] and various others, you can access any of the information that was loaded into the tree from the 'as-farm.map'-file through scripts in the gamemode resource.&lt;br /&gt;
&lt;br /&gt;
Another thing that has to be considered related to the tree of elements is the fact that when you change the map, you don't have to remove any elements you created within the map resource, while you '''do''' have to remove elements that are created within the gamemode resource, '''if''' they are specific to the map (which will be probably the case for those items you create based on information read from the map resource's .map files).&lt;br /&gt;
&lt;br /&gt;
==Element browser==&lt;br /&gt;
You can start the resource ''elementbrowser'' to see a live view of the element tree on your server. Just start the resource and browser to your server's web page and choose the ''Element browser'' option in the sidebar (firefox only currently).&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;br /&gt;
[[es:Árbol de elementos]]&lt;br /&gt;
[[ru:Element tree]]&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=BlowVehicle&amp;diff=37403</id>
		<title>BlowVehicle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=BlowVehicle&amp;diff=37403"/>
		<updated>2013-10-21T16:10:15Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Added client class example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function will blow up a vehicle. This will cause an explosion and will kill the driver and any passengers inside it.&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;&lt;br /&gt;
bool blowVehicle ( vehicle vehicleToBlow, [ bool explode=true ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''vehicleToBlow:''' The vehicle that you wish to blow up.&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''explode:''' If this argument is ''true'' then the vehicle will explode, otherwise it will just be blown up silently.&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;&lt;br /&gt;
bool blowVehicle ( vehicle vehicleToBlow )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''vehicleToBlow:''' The vehicle that you wish to blow up.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the vehicle was blown up, ''false'' if invalid arguments were passed to the function.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1: Server and client&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example will blow up every vehicle in the game.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
vehicles = getElementsByType ( &amp;quot;vehicle&amp;quot; )&lt;br /&gt;
for vehicleKey, vehicleValue in ipairs(vehicles) do&lt;br /&gt;
	blowVehicle ( vehicleValue )&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is worth noting that the same could be achieved with the following:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
blowVehicle ( root ) -- root (getRootElement) is a built in MTA variable and therefore we do not have to define it.&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;Example 2: Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example will blow a player's vehicle when he enters the car, like a carbomb.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
riggedVehicle = createVehicle(445, 0, 0, 5)&lt;br /&gt;
function blowVehicleEnter ( thePlayer, seat, jacked )&lt;br /&gt;
	--ENGINE START BOMB. &lt;br /&gt;
	if seat == 0 then --check if the seat the player got into was id 0 - i.e. driver seat&lt;br /&gt;
		blowVehicle ( source ) --if it was, toast him&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onVehicleEnter&amp;quot;, riggedVehicle, blowVehicleEnter ) --trigger the function when a certain vehicle is entered&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Client Class Example==&lt;br /&gt;
'''Heads up!''' Client classes only work on '''MTA 1.4''', therefore we highly recommend you to visit [[Client_Scripting_Classes|Client Scripting Classes]] first.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1: Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This script will create an Infernus at the center (0, 0, 3) of San Andreas upon execution.&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;
        infernus = Vehicle.create( 411, Vector3( 0, 0, 3 ) ); -- Create an Infernus and spawn it at the middle of SA.&lt;br /&gt;
        infernus:setColor( 0, 0, 0 ); -- Set its color to black.&lt;br /&gt;
    end)&lt;br /&gt;
	&lt;br /&gt;
addCommandHandler( &amp;quot;blowinfernus&amp;quot;,&lt;br /&gt;
    function()&lt;br /&gt;
        if not infernus.blown then -- Check if the Infernus is blown up or not.&lt;br /&gt;
            infernus:blow();&lt;br /&gt;
        else -- Ouch, it's blown up, let's output an error to the client.&lt;br /&gt;
            outputChatBox( &amp;quot;The Infernus has already been blown up by you.&amp;quot;, 255, 0, 0, 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;
==See Also==&lt;br /&gt;
{{Vehicle_functions}}&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Client_Scripting_Classes&amp;diff=37402</id>
		<title>Client Scripting Classes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Client_Scripting_Classes&amp;diff=37402"/>
		<updated>2013-10-21T16:05:24Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: /* Vehicle */&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;
{{Adding_Pages_to_Categories_and_Templates}}&lt;br /&gt;
This page lists all the '''client-side''' scripting classes that are being implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural [[Client_Scripting_Functions|Client Functions]].&lt;br /&gt;
&lt;br /&gt;
Classes can be instantiated by either calling the '''create''' method, when available, or calling the class. For example: ''Vehicle(...)'' is the same as ''Vehicle.create(...)''.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Vector3==&lt;br /&gt;
{{Client_vector3_class}}&lt;br /&gt;
&lt;br /&gt;
==Matrix==&lt;br /&gt;
{{Client_matrix_class}}&lt;br /&gt;
&lt;br /&gt;
==Element==&lt;br /&gt;
{{Client_element_class}}&lt;br /&gt;
&lt;br /&gt;
===Entity===&lt;br /&gt;
====Ped====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Ped class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_ped_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Player=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Player class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_player_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Vehicle====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Vehicle class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_vehicle_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Object====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Object class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_object_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Marker====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Marker class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_marker_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Blip====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Object class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_object_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Pickup====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Pickup class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_pickup_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Collision shape====&lt;br /&gt;
&amp;lt;section name=&amp;quot;ColShape class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_colshape_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Projectile====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Projectile class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_projectile_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Radar area====&lt;br /&gt;
&amp;lt;section name=&amp;quot;RadarArea class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_radararea_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Team====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Team class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_team_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Water====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Water class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_water_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Sound class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_sound_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Sound3D====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Sound3D class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_sound3_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Weapon====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Weapon class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_weapon_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Miscellaneous===&lt;br /&gt;
====GUI Base====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiElement class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIElement_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Window=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiWindow class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIWindow_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Button=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiButton class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIButton_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Edit box=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiEdit class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIEdit_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Label=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiLabel class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUILabel_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Memo box=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiMemo class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIMemo_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Image=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiImage class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIImage_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Combo box=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiComboBox class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIComboBox_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Check box=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiCheckBox class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUICheckBox_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Radio button=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiRadioButton class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_object_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Scroll pane=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiScrollPane class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIScrollPane_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Scroll bar=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiScrollBar class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIScrollBar_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Progress bar=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiProgressBar class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIProgressBar_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Grid list=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiGridList class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIGridList_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Tab panel=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiTabPanel class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUITabPanel_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Tab=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiTab class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUITab_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Resource==&lt;br /&gt;
{{Client_resource_class}}&lt;br /&gt;
&lt;br /&gt;
==Timer==&lt;br /&gt;
{{Client_timer_class}}&lt;br /&gt;
&lt;br /&gt;
==File==&lt;br /&gt;
{{Client_file_class}}&lt;br /&gt;
&lt;br /&gt;
==XmlNode==&lt;br /&gt;
{{Client_xmlNode_class}}&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Client_Scripting_Classes&amp;diff=37401</id>
		<title>Client Scripting Classes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Client_Scripting_Classes&amp;diff=37401"/>
		<updated>2013-10-21T16:04:38Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: /* Vehicle */&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;
{{Adding_Pages_to_Categories_and_Templates}}&lt;br /&gt;
This page lists all the '''client-side''' scripting classes that are being implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural [[Client_Scripting_Functions|Client Functions]].&lt;br /&gt;
&lt;br /&gt;
Classes can be instantiated by either calling the '''create''' method, when available, or calling the class. For example: ''Vehicle(...)'' is the same as ''Vehicle.create(...)''.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Vector3==&lt;br /&gt;
{{Client_vector3_class}}&lt;br /&gt;
&lt;br /&gt;
==Matrix==&lt;br /&gt;
{{Client_matrix_class}}&lt;br /&gt;
&lt;br /&gt;
==Element==&lt;br /&gt;
{{Client_element_class}}&lt;br /&gt;
&lt;br /&gt;
===Entity===&lt;br /&gt;
====Ped====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Ped class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_ped_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Player=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Player class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_player_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Vehicle====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Vehicle class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_vehicle_class#Client_Class_Example}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Object====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Object class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_object_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Marker====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Marker class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_marker_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Blip====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Object class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_object_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Pickup====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Pickup class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_pickup_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Collision shape====&lt;br /&gt;
&amp;lt;section name=&amp;quot;ColShape class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_colshape_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Projectile====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Projectile class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_projectile_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Radar area====&lt;br /&gt;
&amp;lt;section name=&amp;quot;RadarArea class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_radararea_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Team====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Team class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_team_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Water====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Water class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_water_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Sound class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_sound_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Sound3D====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Sound3D class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_sound3_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Weapon====&lt;br /&gt;
&amp;lt;section name=&amp;quot;Weapon class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_weapon_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Miscellaneous===&lt;br /&gt;
====GUI Base====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiElement class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIElement_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Window=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiWindow class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIWindow_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Button=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiButton class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIButton_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Edit box=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiEdit class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIEdit_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Label=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiLabel class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUILabel_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Memo box=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiMemo class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIMemo_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Image=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiImage class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIImage_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Combo box=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiComboBox class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIComboBox_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Check box=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiCheckBox class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUICheckBox_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Radio button=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiRadioButton class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_object_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Scroll pane=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiScrollPane class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIScrollPane_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Scroll bar=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiScrollBar class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIScrollBar_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Progress bar=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiProgressBar class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIProgressBar_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Grid list=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiGridList class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUIGridList_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Tab panel=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiTabPanel class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUITabPanel_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Tab=====&lt;br /&gt;
&amp;lt;section name=&amp;quot;GuiTab class&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
{{Client_GUITab_class}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Resource==&lt;br /&gt;
{{Client_resource_class}}&lt;br /&gt;
&lt;br /&gt;
==Timer==&lt;br /&gt;
{{Client_timer_class}}&lt;br /&gt;
&lt;br /&gt;
==File==&lt;br /&gt;
{{Client_file_class}}&lt;br /&gt;
&lt;br /&gt;
==XmlNode==&lt;br /&gt;
{{Client_xmlNode_class}}&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateVehicle&amp;diff=37400</id>
		<title>CreateVehicle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateVehicle&amp;diff=37400"/>
		<updated>2013-10-21T15:55:37Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Added client class example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Needs_Checking|&lt;br /&gt;
* Numberplates only seem to work for some vehicles, and then only for the front or rear plate only&lt;br /&gt;
* Explain the direction parameter which should always be false and what is the point of having a parameter whose value need to be the same all the time. --[[User:MTA SE|MTA SE]] 20:05, 5 July 2012 (UTC)&lt;br /&gt;
* The numberplates have to contain at least 1 letter. For example &amp;quot;132&amp;quot; will not work and the function will fail but, &amp;quot;13A&amp;quot; or &amp;quot;132A&amp;quot; will work&lt;br /&gt;
}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{note_box|Vehicles (and other elements) created client-side are only seen by the client that created them, aren't synced and players cannot enter them. They are essentially for display only.}}&lt;br /&gt;
This function creates a vehicle at the specified location.&lt;br /&gt;
&lt;br /&gt;
Its worth noting that the position of the vehicle is the center point of the vehicle, not its base. As such, you need to ensure that the z value (vertical axis) is some height above the ground. You can find the exact height using the client side function [[getElementDistanceFromCentreOfMassToBaseOfModel]], or you can estimate it yourself and just spawn the vehicle so it drops to the ground.&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;
vehicle createVehicle ( int model, float x, float y, float z [, float rx, float ry, float rz, string numberplate, bool bDirection, int variant1, int variant2 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''model''': The [[Vehicle IDs|vehicle ID]] of the vehicle being created.&lt;br /&gt;
* '''x''': A floating point number representing the X coordinate on the map.&lt;br /&gt;
* '''y''': A floating point number representing the Y coordinate on the map.&lt;br /&gt;
* '''z''': A floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''rx''': A floating point number representing the rotation about the X axis in degrees.&lt;br /&gt;
* '''ry''': A floating point number representing the rotation about the Y axis in degrees.&lt;br /&gt;
* '''rz''': A floating point number representing the rotation about the Z axis in degrees.&lt;br /&gt;
* '''numberplate''': A string that will go on the number plate of the car (max 8 characters). This is only applicable to cars.&lt;br /&gt;
* '''direction''': A boolean which should be set to false. *SERVER ONLY*&lt;br /&gt;
{{New feature/item|3.0120|1.2|| &lt;br /&gt;
* '''variant1''': An integer for the first vehicle variant see [[Vehicle variants]]&lt;br /&gt;
* '''variant2''': An integer for the second vehicle variant see [[Vehicle variants]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the [[vehicle]] element that was created. Returns ''false'' if the arguments are incorrect, or if the vehicle limit of 65535 is exceeded.&lt;br /&gt;
&lt;br /&gt;
==Using trains==&lt;br /&gt;
Trains are created using the createVehicle function. They are placed at the nearest point of the GTASA train pathing (railroad tracks) from their spawning point. &lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1: Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This script spawns a Rhino on top of one lucky individual.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scriptCreateTank ( player, command )&lt;br /&gt;
      local luckyBugger = getRandomPlayer() -- get a random player&lt;br /&gt;
      local x, y, z = getElementPosition ( luckyBugger ) -- retrive the player's position&lt;br /&gt;
      createVehicle ( 432, x, y, z + 10 ) -- create the tank 10 units above them&lt;br /&gt;
      outputChatBox ( &amp;quot;You got Tank'd!&amp;quot;, luckyBugger )&lt;br /&gt;
end&lt;br /&gt;
--Attach the 'scriptCreateTank' function to the &amp;quot;tank&amp;quot; command&lt;br /&gt;
addCommandHandler ( &amp;quot;tank&amp;quot;, scriptCreateTank )&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;Example 2: Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This script spawns a Rhino on top of the local player.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scriptCreateTank ( commandName )&lt;br /&gt;
      local luckyBugger = getLocalPlayer() -- get the local player&lt;br /&gt;
      local x, y, z = getElementPosition ( luckyBugger ) -- retrive the player's position&lt;br /&gt;
      createVehicle ( 432, x, y, z + 10 ) -- create the tank 10 units above them&lt;br /&gt;
      outputChatBox ( &amp;quot;You got Tank'd!&amp;quot;, 255, 0, 0)&lt;br /&gt;
end&lt;br /&gt;
--Attach the 'scriptCreateTank' function to the &amp;quot;tank&amp;quot; command&lt;br /&gt;
addCommandHandler ( &amp;quot;tank&amp;quot;, scriptCreateTank )&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;Example 3: Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
This example creates a vehicle five units to the right of a player when they type ''createvehicle'' and its name in the console:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local distance = 5 --units&lt;br /&gt;
&lt;br /&gt;
-- define our handler (we'll take a variable number of parameters where the name goes, because there are vehicle names with more than one word)&lt;br /&gt;
function consoleCreateVehicle ( sourcePlayer, commandName, ... )&lt;br /&gt;
   -- if a player triggered it, not the admin,&lt;br /&gt;
   if ( sourcePlayer ) then&lt;br /&gt;
      -- calculate the position of the vehicle based on the player's position and rotation:&lt;br /&gt;
      local x, y, z = getElementPosition ( sourcePlayer ) -- get the player's position&lt;br /&gt;
      local rotZ = getPedRotation ( sourcePlayer ) -- get the player's rotation around the Z axis in degrees&lt;br /&gt;
      x = x + ( ( math.cos ( math.rad ( rotZ ) ) ) * distance ) -- calculate the X position of the vehicle&lt;br /&gt;
      y = y + ( ( math.sin ( math.rad ( rotZ ) ) ) * distance ) -- calculate the Y position of the vehicle&lt;br /&gt;
&lt;br /&gt;
      -- get the complete vehicle name by joining all passed parameters using Lua function table.concat&lt;br /&gt;
      local vehicleName = table.concat({...}, &amp;quot; &amp;quot;)&lt;br /&gt;
      -- get the vehicle's model ID from the name&lt;br /&gt;
      local vehicleID = getVehicleModelFromName ( vehicleName )&lt;br /&gt;
      -- if vehicle ID is valid,&lt;br /&gt;
      if vehicleID then&lt;br /&gt;
            -- create the vehicle using the information gathered above:&lt;br /&gt;
            local newVehicle = createVehicle ( vehicleID, x, y, z, 0, 0, rotZ )&lt;br /&gt;
            -- if vehicle creation failed, give the player a message&lt;br /&gt;
            if not newVehicle then&lt;br /&gt;
               outputConsole ( &amp;quot;Failed to create vehicle.&amp;quot;, sourcePlayer )&lt;br /&gt;
            end&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Attach the 'consoleCreateVehicle' function to the &amp;quot;createvehicle&amp;quot; command&lt;br /&gt;
addCommandHandler ( &amp;quot;createvehicle&amp;quot;, consoleCreateVehicle )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Client Class Example==&lt;br /&gt;
'''Heads up!''' Client classes only work on '''MTA 1.4''', therefore we highly recommend you to visit [[Client_Scripting_Classes|Client Scripting Classes]] first.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1: Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This script will create an Infernus at the center (0, 0, 3) of San Andreas upon execution.&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;
        infernus = Vehicle.create( 411, Vector3( 0, 0, 3 ) ); -- Create an Infernus and spawn it at the middle of SA.&lt;br /&gt;
        infernus:setColor( 0, 0, 0 ); -- Set its color to black.&lt;br /&gt;
    end)&lt;br /&gt;
	&lt;br /&gt;
addCommandHandler( &amp;quot;blowinfernus&amp;quot;,&lt;br /&gt;
    function()&lt;br /&gt;
        if not infernus.blown then -- Check if the Infernus is blown up or not.&lt;br /&gt;
            infernus:blow();&lt;br /&gt;
        else -- Ouch, it's blown up, let's output an error to the client.&lt;br /&gt;
            outputChatBox( &amp;quot;The Infernus has already been blown up by you.&amp;quot;, 255, 0, 0, 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;
==See Also==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Vehicle functions}}&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=BlowVehicle&amp;diff=37399</id>
		<title>BlowVehicle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=BlowVehicle&amp;diff=37399"/>
		<updated>2013-10-21T01:03:16Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: root is a built in MTA var.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function will blow up a vehicle. This will cause an explosion and will kill the driver and any passengers inside it.&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;&lt;br /&gt;
bool blowVehicle ( vehicle vehicleToBlow, [ bool explode=true ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''vehicleToBlow:''' The vehicle that you wish to blow up.&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''explode:''' If this argument is ''true'' then the vehicle will explode, otherwise it will just be blown up silently.&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;&lt;br /&gt;
bool blowVehicle ( vehicle vehicleToBlow )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''vehicleToBlow:''' The vehicle that you wish to blow up.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the vehicle was blown up, ''false'' if invalid arguments were passed to the function.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1: Server and client&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example will blow up every vehicle in the game.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
vehicles = getElementsByType ( &amp;quot;vehicle&amp;quot; )&lt;br /&gt;
for vehicleKey, vehicleValue in ipairs(vehicles) do&lt;br /&gt;
	blowVehicle ( vehicleValue )&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is worth noting that the same could be achieved with the following:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
blowVehicle ( root ) -- root (getRootElement) is a built in MTA variable and therefore we do not have to define it.&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;Example 2: Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example will blow a player's vehicle when he enters the car, like a carbomb.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
riggedVehicle = createVehicle(445, 0, 0, 5)&lt;br /&gt;
function blowVehicleEnter ( thePlayer, seat, jacked )&lt;br /&gt;
	--ENGINE START BOMB. &lt;br /&gt;
	if seat == 0 then --check if the seat the player got into was id 0 - i.e. driver seat&lt;br /&gt;
		blowVehicle ( source ) --if it was, toast him&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onVehicleEnter&amp;quot;, riggedVehicle, blowVehicleEnter ) --trigger the function when a certain vehicle is entered&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>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Client_Scripting_Classes&amp;diff=37398</id>
		<title>Talk:Client Scripting Classes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Client_Scripting_Classes&amp;diff=37398"/>
		<updated>2013-10-21T00:57:58Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;@Ixjf: Whatsup with XmlNode man, I cant stand the lowercase letters of the word Xml. u undo'd it again doee. -- Shmorf (( Somewhere around 03:00AM ))&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetVehiclePlateText&amp;diff=37387</id>
		<title>GetVehiclePlateText</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetVehiclePlateText&amp;diff=37387"/>
		<updated>2013-10-20T20:00:08Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Shortened example var. 'localPlayerOccupiedVehicle' -&amp;gt; 'vehicle'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function is used to retrieve the text on the number plate of a specified vehicle.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string getVehiclePlateText ( vehicle theVehicle )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theVehicle:''' The [[vehicle]] that you wish to retrieve the plate text from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a ''string'' that corresponds to the plate on the text, ''false'' if a bad argument was passed or if the vehicle is not a car.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Example&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example outputs the text on the license plate of the vehicle the player is driving to the chatbox.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputLicensePlate ( command )&lt;br /&gt;
    if isPedInVehicle(localPlayer) then --let's check if they're in a vehicle&lt;br /&gt;
         -- if they are in a vehicle&lt;br /&gt;
         local vehicle = getPedOccupiedVehicle ( localPlayer ) --let's get the vehicle&lt;br /&gt;
         local plateText = getVehiclePlateText ( vehicle ) --get the license plate text&lt;br /&gt;
         if plateText then -- if there was a license plate,&lt;br /&gt;
             outputChatBox ( &amp;quot;Your license plate is: &amp;quot; .. plateText )-- output it to the chatbox&lt;br /&gt;
         else&lt;br /&gt;
             outputChatBox ( &amp;quot;Your vehicle has no license plate.&amp;quot; )&lt;br /&gt;
         end&lt;br /&gt;
    else&lt;br /&gt;
         outputChatBox ( &amp;quot;You're not in a vehicle.&amp;quot; )&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
-- add our function as a handler to the &amp;quot;plate&amp;quot; command&lt;br /&gt;
addCommandHandler( &amp;quot;plate&amp;quot;, outputLicensePlate )&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>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Client_Scripting_Classes&amp;diff=37386</id>
		<title>Client Scripting Classes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Client_Scripting_Classes&amp;diff=37386"/>
		<updated>2013-10-20T19:55:17Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Ninja edit Xml -&amp;gt; XML don't you dare to undo again ixjf&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;
{{Adding_Pages_to_Categories_and_Templates}}&lt;br /&gt;
This page lists all the '''client-side''' scripting classes that are being implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural [[Client_Scripting_Functions|Client Functions]].&lt;br /&gt;
&lt;br /&gt;
Classes can be instantiated by either calling the '''create''' method, when available, or calling the class. For example: ''Vehicle(...)'' is the same as ''Vehicle.create(...)''.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Vector3==&lt;br /&gt;
{{Client_vector3_class}}&lt;br /&gt;
&lt;br /&gt;
==Matrix==&lt;br /&gt;
{{Client_matrix_class}}&lt;br /&gt;
&lt;br /&gt;
==Element==&lt;br /&gt;
{{Client_element_class}}&lt;br /&gt;
&lt;br /&gt;
==Vehicle==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_vehicle_class}}&lt;br /&gt;
&lt;br /&gt;
==Ped==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_ped_class}}&lt;br /&gt;
&lt;br /&gt;
==Player==&lt;br /&gt;
This class inherits Ped.&lt;br /&gt;
{{Client_player_class}}&lt;br /&gt;
&lt;br /&gt;
==Object==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_object_class}}&lt;br /&gt;
&lt;br /&gt;
==Camera==&lt;br /&gt;
{{Client_camera_class}}&lt;br /&gt;
&lt;br /&gt;
==Marker==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_marker_class}}&lt;br /&gt;
&lt;br /&gt;
==Blip==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_blip_class}}&lt;br /&gt;
&lt;br /&gt;
==Pickup==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_pickup_class}}&lt;br /&gt;
&lt;br /&gt;
==Collision shape==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_colshape_class}}&lt;br /&gt;
&lt;br /&gt;
==Projectile==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_projectile_class}}&lt;br /&gt;
&lt;br /&gt;
==Radar area==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_radararea_class}}&lt;br /&gt;
&lt;br /&gt;
==Team==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_team_class}}&lt;br /&gt;
&lt;br /&gt;
==Water==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_water_class}}&lt;br /&gt;
&lt;br /&gt;
==Sound==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_sound_class}}&lt;br /&gt;
&lt;br /&gt;
==Sound3D==&lt;br /&gt;
This class inherits Sound.&lt;br /&gt;
{{Client_sound3_class}}&lt;br /&gt;
&lt;br /&gt;
==Weapon==&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_weapon_class}}&lt;br /&gt;
&lt;br /&gt;
==GUI classes==&lt;br /&gt;
&lt;br /&gt;
===Base element===&lt;br /&gt;
This class inherits Element.&lt;br /&gt;
{{Client_GUIElement_class}}&lt;br /&gt;
&lt;br /&gt;
===Window===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIWindow_class}}&lt;br /&gt;
&lt;br /&gt;
===Button===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIButton_class}}&lt;br /&gt;
&lt;br /&gt;
===Edit box===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIEdit_class}}&lt;br /&gt;
&lt;br /&gt;
===Label===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUILabel_class}}&lt;br /&gt;
&lt;br /&gt;
===Memo box===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIMemo_class}}&lt;br /&gt;
&lt;br /&gt;
===Image===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIImage_class}}&lt;br /&gt;
&lt;br /&gt;
===Combo box===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIComboBox_class}}&lt;br /&gt;
&lt;br /&gt;
===Check box===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUICheckBox_class}}&lt;br /&gt;
&lt;br /&gt;
===Radio button===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIRadioButton_class}}&lt;br /&gt;
&lt;br /&gt;
===Scroll pane===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIScrollPane_class}}&lt;br /&gt;
&lt;br /&gt;
===Scroll bar===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIScrollBar_class}}&lt;br /&gt;
&lt;br /&gt;
===Progress bar===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIProgressBar_class}}&lt;br /&gt;
&lt;br /&gt;
===Grid list===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUIGridList_class}}&lt;br /&gt;
&lt;br /&gt;
===Tab panel===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUITabPanel_class}}&lt;br /&gt;
&lt;br /&gt;
===Tab===&lt;br /&gt;
This class inherits GuiElement.&lt;br /&gt;
{{Client_GUITab_class}}&lt;br /&gt;
&lt;br /&gt;
==Resource==&lt;br /&gt;
{{Client_resource_class}}&lt;br /&gt;
&lt;br /&gt;
==Timer==&lt;br /&gt;
{{Client_timer_class}}&lt;br /&gt;
&lt;br /&gt;
==File==&lt;br /&gt;
{{Client_file_class}}&lt;br /&gt;
&lt;br /&gt;
==XML Node==&lt;br /&gt;
{{Client_xmlNode_class}}&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Client_Scripting_Classes&amp;diff=37376</id>
		<title>Client Scripting Classes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Client_Scripting_Classes&amp;diff=37376"/>
		<updated>2013-10-20T18:01:24Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: &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;
{{Adding_Pages_to_Categories_and_Templates}}&lt;br /&gt;
This page lists all the '''client-side''' scripting classes that are being implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural [[Client_Scripting_Functions|Client Functions]].&lt;br /&gt;
&lt;br /&gt;
Classes can be instantiated by either calling the '''create''' method, when available, or calling the class. For example: ''Vehicle(...)'' is the same as ''Vehicle.create(...)''.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Vector3==&lt;br /&gt;
{{Client_vector3_class}}&lt;br /&gt;
&lt;br /&gt;
==Matrix==&lt;br /&gt;
{{Client_matrix_class}}&lt;br /&gt;
&lt;br /&gt;
==Element==&lt;br /&gt;
{{Client_element_class}}&lt;br /&gt;
&lt;br /&gt;
==Vehicle==&lt;br /&gt;
{{Client_vehicle_class}}&lt;br /&gt;
&lt;br /&gt;
==Ped==&lt;br /&gt;
{{Client_ped_class}}&lt;br /&gt;
&lt;br /&gt;
==Player==&lt;br /&gt;
{{Client_player_class}}&lt;br /&gt;
&lt;br /&gt;
==Object==&lt;br /&gt;
{{Client_object_class}}&lt;br /&gt;
&lt;br /&gt;
==Camera==&lt;br /&gt;
{{Client_camera_class}}&lt;br /&gt;
&lt;br /&gt;
==Marker==&lt;br /&gt;
{{Client_marker_class}}&lt;br /&gt;
&lt;br /&gt;
==Blip==&lt;br /&gt;
{{Client_blip_class}}&lt;br /&gt;
&lt;br /&gt;
==Pickup==&lt;br /&gt;
{{Client_pickup_class}}&lt;br /&gt;
&lt;br /&gt;
==Collision shape==&lt;br /&gt;
{{Client_colshape_class}}&lt;br /&gt;
&lt;br /&gt;
==Projectile==&lt;br /&gt;
{{Client_projectile_class}}&lt;br /&gt;
&lt;br /&gt;
==Radar area==&lt;br /&gt;
{{Client_radararea_class}}&lt;br /&gt;
&lt;br /&gt;
==Team==&lt;br /&gt;
{{Client_team_class}}&lt;br /&gt;
&lt;br /&gt;
==Water==&lt;br /&gt;
{{Client_water_class}}&lt;br /&gt;
&lt;br /&gt;
==Sound==&lt;br /&gt;
{{Client_sound_class}}&lt;br /&gt;
&lt;br /&gt;
==Weapon==&lt;br /&gt;
{{Client_weapon_class}}&lt;br /&gt;
&lt;br /&gt;
==GUI classes==&lt;br /&gt;
&lt;br /&gt;
===GUI element===&lt;br /&gt;
{{Client_GUIElement_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Window===&lt;br /&gt;
{{Client_GUIWindow_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Button===&lt;br /&gt;
{{Client_GUIButton_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Edit===&lt;br /&gt;
{{Client_GUIEdit_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Label===&lt;br /&gt;
{{Client_GUILabel_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Memo===&lt;br /&gt;
{{Client_GUIMemo_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Image===&lt;br /&gt;
{{Client_GUIImage_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Combo Box===&lt;br /&gt;
{{Client_GUIComboBox_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Check Box===&lt;br /&gt;
{{Client_GUICheckBox_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Radio Button===&lt;br /&gt;
{{Client_GUIRadioButton_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Scroll Pane===&lt;br /&gt;
{{Client_GUIScrollPane_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Scroll Bar===&lt;br /&gt;
{{Client_GUIScrollBar_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Progress Bar===&lt;br /&gt;
{{Client_GUIProgressBar_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Grid List===&lt;br /&gt;
{{Client_GUIGridList_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Tab Panel===&lt;br /&gt;
{{Client_GUITabPanel_class}}&lt;br /&gt;
&lt;br /&gt;
===GUI Tab===&lt;br /&gt;
{{Client_GUITab_class}}&lt;br /&gt;
&lt;br /&gt;
==Resource==&lt;br /&gt;
{{Client_resource_class}}&lt;br /&gt;
&lt;br /&gt;
==Timer==&lt;br /&gt;
{{Client_timer_class}}&lt;br /&gt;
&lt;br /&gt;
==File==&lt;br /&gt;
{{Client_file_class}}&lt;br /&gt;
&lt;br /&gt;
==XML Node==&lt;br /&gt;
{{Client_xmlNode_class}}&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Client_Scripting_Classes&amp;diff=37367</id>
		<title>Talk:Client Scripting Classes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Client_Scripting_Classes&amp;diff=37367"/>
		<updated>2013-10-20T14:49:24Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Client_Scripting_Classes&amp;diff=37360</id>
		<title>Talk:Client Scripting Classes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Client_Scripting_Classes&amp;diff=37360"/>
		<updated>2013-10-20T14:25:01Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: It's Qais, not Qaisjp.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Won't we be repeating ourselves if we have to copy things from procedural to oop? --[[User:Qais|Qais]] 04:11PM, 20 October 2013 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Noh --[[User:Shmorf|Shmorf]] 04:23PM, 20 October 2013 (UTC)&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Client_Scripting_Classes&amp;diff=37359</id>
		<title>Talk:Client Scripting Classes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Client_Scripting_Classes&amp;diff=37359"/>
		<updated>2013-10-20T14:24:36Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Added Qaisjp tags&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Won't we be repeating ourselves if we have to copy things from procedural to oop? --[[User:Qaisjp|Qaisjp]] 04:11PM, 20 October 2013 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Noh --[[User:Shmorf|Shmorf]] 04:23PM, 20 October 2013 (UTC)&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Client_Scripting_Classes&amp;diff=37358</id>
		<title>Talk:Client Scripting Classes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Client_Scripting_Classes&amp;diff=37358"/>
		<updated>2013-10-20T14:23:47Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Won't we be repeating ourselves if we have to copy things from procedural to oop?&lt;br /&gt;
&lt;br /&gt;
Noh --[[User:Shmorf|Shmorf]] 04:23PM, 20 October 2013 (UTC)&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User_talk:FaLsE_Country&amp;diff=37342</id>
		<title>User talk:FaLsE Country</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User_talk:FaLsE_Country&amp;diff=37342"/>
		<updated>2013-10-20T13:07:35Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Created page with &amp;quot;You made a mess in your previous edit, thankgod I undo'd it. --Shmorf 03:06PM, 20 October 2013 (UTC)&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You made a mess in your previous edit, thankgod I undo'd it. --[[User:Shmorf|Shmorf]] 03:06PM, 20 October 2013 (UTC)&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedCameraRotation&amp;diff=37341</id>
		<title>SetPedCameraRotation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedCameraRotation&amp;diff=37341"/>
		<updated>2013-10-20T13:02:41Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Undo revision 37338 by FaLsE Country (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the camera rotation of a ped.&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 setPedCameraRotation ( ped thePed, float cameraRotation )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePed:''' The [[ped]] whose camera rotation is to be changed&lt;br /&gt;
*'''cameraRotation:''' The new direction that the ped will walk if you set their forwards control state&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the camera rotation was changed, ''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;
==See Also==&lt;br /&gt;
{{Client ped functions}}&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User_talk:Mickael1000&amp;diff=37297</id>
		<title>User talk:Mickael1000</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User_talk:Mickael1000&amp;diff=37297"/>
		<updated>2013-10-09T15:43:03Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Undo'd your last change.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Translating pages=&lt;br /&gt;
I undo'd your last change because you translated the English version of it.--[[User:Shmorf|Shmorf]] 17:40, 9 October 2013 (GMT)&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=How_you_can_help&amp;diff=37296</id>
		<title>How you can help</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=How_you_can_help&amp;diff=37296"/>
		<updated>2013-10-09T15:37:18Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Undo revision 37295 by Mickael1000 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
Multi Theft Auto has loads of areas in which you can help us. In turn, we'll be more than happy to help you get started with any ideas you have, help test them and - if they're good enough - release them to the whole community. This page outlines the key areas you could do something in, of course, there's many things we've not thought of, so think outside the box!&lt;br /&gt;
&lt;br /&gt;
==Coding for MTASA==&lt;br /&gt;
* Submit source patches for the mod, containing requested features or bugfixes. ([[Coding guidelines]])&lt;br /&gt;
* Translate MTA:SA to your native language - http://translate.multitheftauto.com/&lt;br /&gt;
&lt;br /&gt;
==Scripting==&lt;br /&gt;
* Create a gamemode &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;
* Create an administration page on the HTTP server.&lt;br /&gt;
**[[Resource Web Access]]&lt;br /&gt;
* Make a general purpose resource that provides useful functions to other resources.&lt;br /&gt;
&lt;br /&gt;
==Mapping==&lt;br /&gt;
* Create a map with the map editor for an existing gamemode.&lt;br /&gt;
**[[Resource:Editor|Map Editor Manual]]&lt;br /&gt;
&lt;br /&gt;
==Web development==&lt;br /&gt;
* Work with lil_Toady to add new features and improvements to community.mtasa.com.&lt;br /&gt;
* Create your own system for statistics - using the [[PHP SDK]] as a basis. Contact eAi or jbeta for help.&lt;br /&gt;
&lt;br /&gt;
==Documentation==&lt;br /&gt;
Before you make changes check out: [[Help:Editing Guidelines|Editing Guidelines]]&lt;br /&gt;
* Finish documentation for [[:Category:Incomplete|Incomplete functions]] - ask in #mta.scripting if you're not sure of something.&lt;br /&gt;
* Add examples to [[:Category:Needs Example|functions &amp;amp; events missing examples]] - please test them, and again, as if you need help.&lt;br /&gt;
* Review and verify [[:Category:Needs Checking|pages that need checking]] - make sure highlighted issues are solved before removing pages from the category.&lt;br /&gt;
* Expand the pages that explain [[:Category:Scripting_Concepts|MTA core concepts]].&lt;br /&gt;
* Write tutorials to help new people.&lt;br /&gt;
* Translate the wiki pages so people from other countries can get started in MTA too.&lt;br /&gt;
* Create documentation for undocumented functions and events [[Undocumented Items]]&lt;br /&gt;
&lt;br /&gt;
==Specific tasks==&lt;br /&gt;
* Create a fuzzer to check for crashes in our scripting functions.&lt;br /&gt;
* Help develop/fix existing gamemodes. Contact the original author on IRC (or ask a developer) to tell the author so you can work together.&lt;br /&gt;
* The web interface resources (resourcemanager, resourcebrowser and webadmin chiefly) are really only compatible with Firefox. Someone could put in some time to make these work on Internet Explorer, Opera and Safari. See [[User_talk:EAi|eAi]] for help.&lt;br /&gt;
&lt;br /&gt;
[[pl:Jak możesz pomóc]]&lt;br /&gt;
[[ru:How you can help]]&lt;br /&gt;
[[es:Cómo puedes ayudar]]&lt;br /&gt;
[[hu:How you can help]]&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Id&amp;diff=36706</id>
		<title>Id</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Id&amp;diff=36706"/>
		<updated>2013-07-18T21:05:35Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Removed vehicle components from 'See Also' list.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ID stands for identification. It is a whole-number integer that refers to many mechanics of San Andreas.&lt;br /&gt;
----&lt;br /&gt;
Game elements using IDs:&lt;br /&gt;
''Note: does not include small ID lists related to specific functions or IDs created by MTA''&lt;br /&gt;
*[[Animations|Animations]]&lt;br /&gt;
*[[Character Skins]]&lt;br /&gt;
*[[CJ_Clothes|Clothing styles]]&lt;br /&gt;
*[[Death Reasons]]&lt;br /&gt;
*[[Garage|Garage IDs]]&lt;br /&gt;
*[[Interior IDs]]&lt;br /&gt;
*[[Material IDs]]&lt;br /&gt;
*[[Projectiles]]&lt;br /&gt;
*[[Radar Blips]]&lt;br /&gt;
*[[Sounds]]&lt;br /&gt;
*[[Vehicle IDs]]&lt;br /&gt;
*[[Vehicle Colors]]&lt;br /&gt;
*[[Vehicle Upgrades]]&lt;br /&gt;
*[[Weapons|Weapons]]&lt;br /&gt;
*[[Weather]] ''Note: blended weather allows for many more undocumented effects''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Vending|List of San Andreas Vending machine locations]]&lt;br /&gt;
*[[IDE_List|San Andreas IDE List]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Credits==&lt;br /&gt;
{{IDs}}&lt;br /&gt;
;Credit for information contained in the pages:&lt;br /&gt;
:Ransom (initial creation, formatting, and all lists not credited to others)&lt;br /&gt;
:eAi (vehicle colors list)&lt;br /&gt;
:erorr404/Talidan/Brophy (sound list)&lt;br /&gt;
:Talidan (radar blip pictures/vehicle list)&lt;br /&gt;
:Hellfish (skin pictures [http://www.gtaforums.com/index.php?showtopic=205220 SOURCE])&lt;br /&gt;
:Brophy/Ratt/Panther/Twig (lots of inital ID data)&lt;br /&gt;
:GTAForums (Allowing Ransom to find IDs for lists)&lt;br /&gt;
&lt;br /&gt;
[[de:Id]]&lt;br /&gt;
[[ru:Id]]&lt;br /&gt;
[[Category:ID Lists]]&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Id&amp;diff=36704</id>
		<title>Id</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Id&amp;diff=36704"/>
		<updated>2013-07-18T20:49:19Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Added vehicle components to 'see also' sub category.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ID stands for identification. It is a whole-number integer that refers to many mechanics of San Andreas.&lt;br /&gt;
----&lt;br /&gt;
Game elements using IDs:&lt;br /&gt;
''Note: does not include small ID lists related to specific functions or IDs created by MTA''&lt;br /&gt;
*[[Animations|Animations]]&lt;br /&gt;
*[[Character Skins]]&lt;br /&gt;
*[[CJ_Clothes|Clothing styles]]&lt;br /&gt;
*[[Death Reasons]]&lt;br /&gt;
*[[Garage|Garage IDs]]&lt;br /&gt;
*[[Interior IDs]]&lt;br /&gt;
*[[Material IDs]]&lt;br /&gt;
*[[Projectiles]]&lt;br /&gt;
*[[Radar Blips]]&lt;br /&gt;
*[[Sounds]]&lt;br /&gt;
*[[Vehicle IDs]]&lt;br /&gt;
*[[Vehicle Colors]]&lt;br /&gt;
*[[Vehicle Upgrades]]&lt;br /&gt;
*[[Weapons|Weapons]]&lt;br /&gt;
*[[Weather]] ''Note: blended weather allows for many more undocumented effects''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Vending|List of San Andreas Vending machine locations]]&lt;br /&gt;
*[[IDE_List|San Andreas IDE List]]&lt;br /&gt;
*[[Vehicle_components|List of vehicle components]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Credits==&lt;br /&gt;
{{IDs}}&lt;br /&gt;
;Credit for information contained in the pages:&lt;br /&gt;
:Ransom (initial creation, formatting, and all lists not credited to others)&lt;br /&gt;
:eAi (vehicle colors list)&lt;br /&gt;
:erorr404/Talidan/Brophy (sound list)&lt;br /&gt;
:Talidan (radar blip pictures/vehicle list)&lt;br /&gt;
:Hellfish (skin pictures [http://www.gtaforums.com/index.php?showtopic=205220 SOURCE])&lt;br /&gt;
:Brophy/Ratt/Panther/Twig (lots of inital ID data)&lt;br /&gt;
:GTAForums (Allowing Ransom to find IDs for lists)&lt;br /&gt;
&lt;br /&gt;
[[de:Id]]&lt;br /&gt;
[[ru:Id]]&lt;br /&gt;
[[Category:ID Lists]]&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientVehicleNitroStateChange&amp;diff=35743</id>
		<title>OnClientVehicleNitroStateChange</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientVehicleNitroStateChange&amp;diff=35743"/>
		<updated>2013-05-05T22:16:12Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: /* Example */ Updated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This event gets triggered when nitro state is changing.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool state&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''state:''' current state of nitro&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the player vehicle.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example is showing short chat message on nitro state changing.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function nitro_updateState(state)    &lt;br /&gt;
    if state then&lt;br /&gt;
        outputChatBox(&amp;quot;Nitro #00FF00activated!&amp;quot;, 255, 200, 0, true)&lt;br /&gt;
    elseif not state then&lt;br /&gt;
        outputChatBox(&amp;quot;Nitro #FF0000deactivated!&amp;quot;, 255, 200, 0, true)&lt;br /&gt;
    end&lt;br /&gt;
end   &lt;br /&gt;
addEventHandler(&amp;quot;onClientVehicleNitroStateChange&amp;quot;, root,  nitro_updateState)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client vehicle events===&lt;br /&gt;
{{Client_vehicle_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Shmorf&amp;diff=35737</id>
		<title>User:Shmorf</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Shmorf&amp;diff=35737"/>
		<updated>2013-05-05T21:12:27Z</updated>

		<summary type="html">&lt;p&gt;Shmorf: Created page with &amp;quot;Hi, I´m Shmorf. An experienced cardboard folder.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I´m Shmorf. An experienced cardboard folder.&lt;/div&gt;</summary>
		<author><name>Shmorf</name></author>
	</entry>
</feed>