<?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=KITT1995</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=KITT1995"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/KITT1995"/>
	<updated>2026-04-23T23:59:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_ped_functions&amp;diff=26645</id>
		<title>Template:IT/Client ped functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_ped_functions&amp;diff=26645"/>
		<updated>2011-08-08T10:40:56Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{IT/Caratteristiche nuove|3|1.0|&lt;br /&gt;
*[[IT/canPedBeKnockedOffBike|canPedBeKnockedOffBike]]&lt;br /&gt;
*[[IT/createPed|createPed]]&lt;br /&gt;
*[[IT/doesPedHaveJetPack|doesPedHaveJetPack]]&lt;br /&gt;
*[[IT/getPedAmmoInClip|getPedAmmoInClip]]&lt;br /&gt;
*[[IT/getPedAnimation|getPedAnimation]]&lt;br /&gt;
*[[IT/getPedAnimationData|getPedAnimationData]]&lt;br /&gt;
*[[IT/getPedArmor|getPedArmor]]&lt;br /&gt;
*[[IT/getPedBonePosition|getPedBonePosition]]&lt;br /&gt;
*[[IT/getPedClothes|getPedClothes]]&lt;br /&gt;
*[[IT/getPedContactElement|getPedContactElement]]&lt;br /&gt;
*[[IT/getPedControlState|getPedControlState]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/getPedMoveState|getPedMoveState]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/getPedOccupiedVehicle|getPedOccupiedVehicle]]&lt;br /&gt;
*[[IT/getPedRotation|getPedRotation]]&lt;br /&gt;
*[[IT/getPedSimplestTask|getPedSimplestTask]]&lt;br /&gt;
*[[IT/getPedSkin|getPedSkin]]&lt;br /&gt;
*[[IT/getPedStat|getPedStat]]&lt;br /&gt;
*[[IT/getPedTarget|getPedTarget]]&lt;br /&gt;
*[[IT/getPedTargetCollision|getPedTargetCollision]]&lt;br /&gt;
*[[IT/getPedTargetEnd|getPedTargetEnd]]&lt;br /&gt;
*[[IT/getPedTargetRange|getPedTargetRange]]&lt;br /&gt;
*[[IT/getPedTargetStart|getPedTargetStart]]&lt;br /&gt;
*[[IT/getPedTask|getPedTask]]&lt;br /&gt;
*[[IT/getPedTotalAmmo|getPedTotalAmmo]]&lt;br /&gt;
*[[IT/getPedVoice|getPedVoice]]&lt;br /&gt;
*[[IT/getPedWeapon|getPedWeapon]]&lt;br /&gt;
*[[IT/getPedWeaponMuzzlePosition|getPedWeaponMuzzlePosition]]&lt;br /&gt;
*[[IT/getPedWeaponSlot|getPedWeaponSlot]]&lt;br /&gt;
*[[IT/isPedChoking|isPedChoking]]&lt;br /&gt;
*[[IT/isPedDoingGangDriveby|isPedDoingGangDriveby]]&lt;br /&gt;
*[[IT/isPedDoingTask|isPedDoingTask]]&lt;br /&gt;
*[[IT/isPedDucked|isPedDucked]]&lt;br /&gt;
*[[IT/isPedFrozen|isPedFrozen]]&lt;br /&gt;
*[[IT/isPedHeadless|isPedHeadless]]&lt;br /&gt;
*[[IT/isPedInVehicle|isPedInVehicle]]&lt;br /&gt;
*[[IT/isPedInWater|isPedInWater]]&lt;br /&gt;
*[[IT/isPedOnFire|isPedOnFire]]&lt;br /&gt;
*[[IT/isPedOnGround|isPedOnGround]]&lt;br /&gt;
*[[IT/setPedAimTarget|setPedAimTarget]]&lt;br /&gt;
*[[IT/setPedAnimation|setPedAnimation]]&lt;br /&gt;
*[[IT/setPedCameraRotation|setPedCameraRotation]]&lt;br /&gt;
*[[IT/setPedCanBeKnockedOffBike|setPedCanBeKnockedOffBike]]&lt;br /&gt;
*[[IT/setPedControlState|setPedControlState]]&lt;br /&gt;
*[[IT/setPedDoingGangDriveby|setPedDoingGangDriveby]]&lt;br /&gt;
*[[IT/setPedFrozen|setPedFrozen]]&lt;br /&gt;
*[[IT/setPedHeadless|setPedHeadless]]&lt;br /&gt;
*[[IT/setPedLookAt|setPedLookAt]]&lt;br /&gt;
*[[IT/setPedOnFire|setPedOnFire]]&lt;br /&gt;
*[[IT/setPedRotation|setPedRotation]]&lt;br /&gt;
*[[IT/setPedSkin|setPedSkin]]&lt;br /&gt;
*[[IT/setPedVoice|setPedVoice]]&lt;br /&gt;
*[[IT/setPedWeaponSlot|setPedWeaponSlot]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_object_functions&amp;diff=26644</id>
		<title>Template:IT/Client object functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_object_functions&amp;diff=26644"/>
		<updated>2011-08-08T10:31:19Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/createObject|createObject]]&lt;br /&gt;
*[[IT/moveObject|moveObject]]&lt;br /&gt;
*[[IT/getObjectRotation|getObjectRotation]]&lt;br /&gt;
*[[IT/setObjectRotation|setObjectRotation]]&lt;br /&gt;
*[[IT/setObjectScale|setObjectScale]]&lt;br /&gt;
*[[IT/stopObject|stopObject]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3|DP3|&lt;br /&gt;
*[[IT/isObjectStatic|isObjectStatic]]&lt;br /&gt;
*[[IT/setObjectStatic|setObjectStatic]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_marker_functions&amp;diff=26643</id>
		<title>Template:IT/Client marker functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_marker_functions&amp;diff=26643"/>
		<updated>2011-08-08T10:29:51Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/createMarker|createMarker]]&lt;br /&gt;
*[[IT/getMarkerCount|getMarkerCount]]&lt;br /&gt;
*[[IT/getMarkerType|getMarkerType]]&lt;br /&gt;
*[[IT/getMarkerSize|getMarkerSize]]&lt;br /&gt;
*[[IT/getMarkerColor|getMarkerColor]]&lt;br /&gt;
*[[IT/getMarkerTarget|getMarkerTarget]]&lt;br /&gt;
*[[IT/isElementWithinMarker|isElementWithinMarker]]&lt;br /&gt;
*[[IT/getMarkerIcon|getMarkerIcon]]&lt;br /&gt;
*[[IT/setMarkerType|setMarkerType]]&lt;br /&gt;
*[[IT/setMarkerSize|setMarkerSize]]&lt;br /&gt;
*[[IT/setMarkerColor|setMarkerColor]]&lt;br /&gt;
*[[IT/setMarkerTarget|setMarkerTarget]]&lt;br /&gt;
*[[IT/setMarkerIcon|setMarkerIcon]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_input_functions&amp;diff=26642</id>
		<title>Template:IT/Client input functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_input_functions&amp;diff=26642"/>
		<updated>2011-08-08T10:28:19Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/bindKey|bindKey]]&lt;br /&gt;
*[[IT/unbindKey|unbindKey]]&lt;br /&gt;
*[[IT/getKeyState|getKeyState]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/getCommandsBoundToKey|getCommandsBoundToKey]]&lt;br /&gt;
*[[IT/getFunctionsBoundToKey|getFunctionsBoundToKey]]&lt;br /&gt;
*[[IT/getKeyBoundToCommand|getKeyBoundToCommand]]&lt;br /&gt;
*[[IT/getKeyBoundToFunction|getKeyBoundToFunction]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/getControlState|getControlState]]&lt;br /&gt;
*[[IT/isControlEnabled|isControlEnabled]]&lt;br /&gt;
*[[IT/setControlState|setControlState]]&lt;br /&gt;
*[[IT/toggleControl|toggleControl]]&lt;br /&gt;
*[[IT/toggleAllControls|toggleAllControls]]&lt;br /&gt;
*[[IT/getCursorPosition|getCursorPosition]]&lt;br /&gt;
*[[IT/addCommandHandler|addCommandHandler]]&lt;br /&gt;
*[[IT/removeCommandHandler|removeCommandHandler]]&lt;br /&gt;
*[[IT/executeCommandHandler|executeCommandHandler]]&lt;br /&gt;
*[[IT/getBoundKeys|getBoundKeys]]&lt;br /&gt;
*[[IT/getAnalogControlState|getAnalogControlState]]&lt;br /&gt;
*[[IT/setCursorPosition|setCursorPosition]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_input_functions&amp;diff=26641</id>
		<title>Template:IT/Client input functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_input_functions&amp;diff=26641"/>
		<updated>2011-08-08T10:28:03Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/bindKey|bindKey]]&lt;br /&gt;
*[[IT/unbindKey|unbindKey]]&lt;br /&gt;
*[[IT/getKeyState|getKeyState]]&lt;br /&gt;
{{Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/getCommandsBoundToKey|getCommandsBoundToKey]]&lt;br /&gt;
*[[IT/getFunctionsBoundToKey|getFunctionsBoundToKey]]&lt;br /&gt;
*[[IT/getKeyBoundToCommand|getKeyBoundToCommand]]&lt;br /&gt;
*[[IT/getKeyBoundToFunction|getKeyBoundToFunction]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/getControlState|getControlState]]&lt;br /&gt;
*[[IT/isControlEnabled|isControlEnabled]]&lt;br /&gt;
*[[IT/setControlState|setControlState]]&lt;br /&gt;
*[[IT/toggleControl|toggleControl]]&lt;br /&gt;
*[[IT/toggleAllControls|toggleAllControls]]&lt;br /&gt;
*[[IT/getCursorPosition|getCursorPosition]]&lt;br /&gt;
*[[IT/addCommandHandler|addCommandHandler]]&lt;br /&gt;
*[[IT/removeCommandHandler|removeCommandHandler]]&lt;br /&gt;
*[[IT/executeCommandHandler|executeCommandHandler]]&lt;br /&gt;
*[[IT/getBoundKeys|getBoundKeys]]&lt;br /&gt;
*[[IT/getAnalogControlState|getAnalogControlState]]&lt;br /&gt;
*[[IT/setCursorPosition|setCursorPosition]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_event_functions&amp;diff=26625</id>
		<title>Template:IT/Client event functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_event_functions&amp;diff=26625"/>
		<updated>2011-08-05T11:04:15Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
* [[IT/addEvent|addEvent]]&lt;br /&gt;
* [[IT/addEventHandler|addEventHandler]]&lt;br /&gt;
* [[IT/cancelEvent|cancelEvent]]&lt;br /&gt;
* [[IT/removeEventHandler|removeEventHandler]]&lt;br /&gt;
* [[IT/triggerEvent|triggerEvent]]&lt;br /&gt;
* [[IT/triggerServerEvent|triggerServerEvent]]&lt;br /&gt;
* [[IT/wasEventCanceled|wasEventCanceled]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_element_functions&amp;diff=26624</id>
		<title>Template:IT/Client element functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_element_functions&amp;diff=26624"/>
		<updated>2011-08-05T11:02:55Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/createElement|createElement]]&lt;br /&gt;
*[[IT/destroyElement|destroyElement]]&lt;br /&gt;
*[[IT/getAttachedElements|getAttachedElements]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/getElementAttachedOffsets|getElementAttachedOffsets]]&lt;br /&gt;
*[[IT/getElementCollisionsEnabled|getElementCollisionsEnabled]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/getElementAttachedTo|getElementAttachedTo]]&lt;br /&gt;
*[[IT/getElementBoundingBox|getElementBoundingBox]]&lt;br /&gt;
*[[IT/getElementByID|getElementByID]]&lt;br /&gt;
*[[IT/getElementChild|getElementChild]]&lt;br /&gt;
*[[IT/getElementChildren|getElementChildren]]&lt;br /&gt;
*[[IT/getElementChildrenCount|getElementChildrenCount]]&lt;br /&gt;
*[[IT/getElementData|getElementData]]&lt;br /&gt;
*[[IT/getElementDimension|getElementDimension]]&lt;br /&gt;
*[[IT/getElementDistanceFromCentreOfMassToBaseOfModel|getElementDistanceFromCentreOfMassToBaseOfModel]]&lt;br /&gt;
*[[IT/getElementHealth|getElementHealth]]&lt;br /&gt;
*[[IT/getElementID|getElementID]]&lt;br /&gt;
*[[IT/getElementInterior|getElementInterior]]&lt;br /&gt;
*[[IT/getElementParent|getElementParent]]&lt;br /&gt;
*[[IT/getElementPosition|getElementPosition]]&lt;br /&gt;
*[[IT/getElementRadius|getElementRadius]]&lt;br /&gt;
*[[IT/getElementsByType|getElementsByType]]&lt;br /&gt;
*[[IT/getElementsWithinColShape|getElementsWithinColShape]]&lt;br /&gt;
*[[IT/getElementType|getElementType]]&lt;br /&gt;
*[[IT/getElementVelocity|getElementVelocity]]&lt;br /&gt;
*[[IT/getRootElement|getRootElement]]&lt;br /&gt;
*[[IT/isElement|isElement]]&lt;br /&gt;
*[[IT/isElementAttached|isElementAttached]]&lt;br /&gt;
*[[IT/isElementLocal|isElementLocal]]&lt;br /&gt;
*[[IT/isElementOnScreen|isElementOnScreen]]&lt;br /&gt;
*[[IT/isElementStreamable|isElementStreamable]]&lt;br /&gt;
*[[IT/isElementStreamedIn|isElementStreamedIn]]&lt;br /&gt;
*[[IT/isElementWithinColShape|isElementWithinColShape]]&lt;br /&gt;
*[[IT/setElementAlpha|setElementAlpha]]&lt;br /&gt;
*[[IT/setElementCollisionsEnabled|setElementCollisionsEnabled]]&lt;br /&gt;
*[[IT/setElementData|setElementData]]&lt;br /&gt;
*[[IT/setElementDimension|setElementDimension]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/setElementDoubleSided|setElementDoubleSided]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/setElementHealth|setElementHealth]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/setElementID|setElementID]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/setElementInterior|setElementInterior]]&lt;br /&gt;
*[[IT/setElementParent|setElementParent]]&lt;br /&gt;
*[[IT/setElementPosition|setElementPosition]]&lt;br /&gt;
*[[IT/setElementStreamable|setElementStreamable]]&lt;br /&gt;
*[[IT/setElementVelocity|setElementVelocity]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3|1.0|&lt;br /&gt;
*[[IT/attachElements|attachElements]]&lt;br /&gt;
*[[IT/detachElements|detachElements]]&lt;br /&gt;
*[[IT/getElementColShape|getElementColShape]]&lt;br /&gt;
*[[IT/getElementMatrix|getElementMatrix]]&lt;br /&gt;
*[[IT/getElementModel|getElementModel]]&lt;br /&gt;
*[[IT/getElementRotation|getElementRotation]]&lt;br /&gt;
*[[IT/isElementInWater|isElementInWater]]&lt;br /&gt;
*[[IT/isElementSyncer|isElementSyncer]]&lt;br /&gt;
*[[IT/setElementModel|setElementModel]]&lt;br /&gt;
*[[IT/setElementRotation|setElementRotation]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/isElementCollidableWith|isElementCollidableWith]]&lt;br /&gt;
*[[IT/setElementCollidableWith|setElementCollidableWith]]&lt;br /&gt;
*[[IT/isElementDoubleSided|isElementDoubleSided]]&lt;br /&gt;
{{IT/Caratteristiche deprecate|3|1.0|&lt;br /&gt;
*[[IT/attachElementToElement|attachElementToElement]]&lt;br /&gt;
*[[IT/detachElementFromElement|detachElementFromElement]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_element_functions&amp;diff=26623</id>
		<title>Template:IT/Client element functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_element_functions&amp;diff=26623"/>
		<updated>2011-08-05T11:02:01Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/createElement|createElement]]&lt;br /&gt;
*[[IT/destroyElement|destroyElement]]&lt;br /&gt;
*[[IT/getAttachedElements|getAttachedElements]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/getElementAttachedOffsets|getElementAttachedOffsets]]&lt;br /&gt;
*[[IT/getElementCollisionsEnabled|getElementCollisionsEnabled]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/getElementAttachedTo|getElementAttachedTo]]&lt;br /&gt;
*[[IT/getElementBoundingBox|getElementBoundingBox]]&lt;br /&gt;
*[[IT/getElementByID|getElementByID]]&lt;br /&gt;
*[[IT/getElementChild|getElementChild]]&lt;br /&gt;
*[[IT/getElementChildren|getElementChildren]]&lt;br /&gt;
*[[IT/getElementChildrenCount|getElementChildrenCount]]&lt;br /&gt;
*[[IT/getElementData|getElementData]]&lt;br /&gt;
*[[IT/getElementDimension|getElementDimension]]&lt;br /&gt;
*[[IT/getElementDistanceFromCentreOfMassToBaseOfModel|getElementDistanceFromCentreOfMassToBaseOfModel]]&lt;br /&gt;
*[[IT/getElementHealth|getElementHealth]]&lt;br /&gt;
*[[IT/getElementID|getElementID]]&lt;br /&gt;
*[[IT/getElementInterior|getElementInterior]]&lt;br /&gt;
*[[IT/getElementParent|getElementParent]]&lt;br /&gt;
*[[IT/getElementPosition|getElementPosition]]&lt;br /&gt;
*[[IT/getElementRadius|getElementRadius]]&lt;br /&gt;
*[[IT/getElementsByType|getElementsByType]]&lt;br /&gt;
*[[IT/getElementsWithinColShape|getElementsWithinColShape]]&lt;br /&gt;
*[[IT/getElementType|getElementType]]&lt;br /&gt;
*[[IT/getElementVelocity|getElementVelocity]]&lt;br /&gt;
*[[IT/getRootElement|getRootElement]]&lt;br /&gt;
*[[IT/isElement|isElement]]&lt;br /&gt;
*[[IT/isElementAttached|isElementAttached]]&lt;br /&gt;
*[[IT/isElementLocal|isElementLocal]]&lt;br /&gt;
*[[IT/isElementOnScreen|isElementOnScreen]]&lt;br /&gt;
*[[IT/isElementStreamable|isElementStreamable]]&lt;br /&gt;
*[[IT/isElementStreamedIn|isElementStreamedIn]]&lt;br /&gt;
*[[IT/isElementWithinColShape|isElementWithinColShape]]&lt;br /&gt;
*[[IT/setElementAlpha|setElementAlpha]]&lt;br /&gt;
*[[IT/setElementCollisionsEnabled|setElementCollisionsEnabled]]&lt;br /&gt;
*[[IT/setElementData|setElementData]]&lt;br /&gt;
*[[IT/setElementDimension|setElementDimension]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/setElementDoubleSided|setElementDoubleSided]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/setElementHealth|setElementHealth]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/setElementID|setElementID]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/setElementInterior|setElementInterior]]&lt;br /&gt;
*[[IT/setElementParent|setElementParent]]&lt;br /&gt;
*[[IT/setElementPosition|setElementPosition]]&lt;br /&gt;
*[[IT/setElementStreamable|setElementStreamable]]&lt;br /&gt;
*[[IT/setElementVelocity|setElementVelocity]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3|1.0|&lt;br /&gt;
*[[IT/attachElements|attachElements]]&lt;br /&gt;
*[[IT/detachElements|detachElements]]&lt;br /&gt;
*[[IT/getElementColShape|getElementColShape]]&lt;br /&gt;
*[[IT/getElementMatrix|getElementMatrix]]&lt;br /&gt;
*[[IT/getElementModel|getElementModel]]&lt;br /&gt;
*[[IT/getElementRotation|getElementRotation]]&lt;br /&gt;
*[[IT/isElementInWater|isElementInWater]]&lt;br /&gt;
*[[IT/isElementSyncer|isElementSyncer]]&lt;br /&gt;
*[[IT/setElementModel|setElementModel]]&lt;br /&gt;
*[[IT/setElementRotation|setElementRotation]]&lt;br /&gt;
}}&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0001|1.0.1|&lt;br /&gt;
*[[IT/isElementCollidableWith|isElementCollidableWith]]&lt;br /&gt;
*[[IT/setElementCollidableWith|setElementCollidableWith]]&lt;br /&gt;
}}&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/isElementDoubleSided|isElementDoubleSided]]&lt;br /&gt;
}}&lt;br /&gt;
{{IT/Caratteristiche deprecate|3|1.0|&lt;br /&gt;
*[[IT/attachElementToElement|attachElementToElement]]&lt;br /&gt;
*[[IT/detachElementFromElement|detachElementFromElement]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_element_functions&amp;diff=26622</id>
		<title>Template:IT/Client element functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_element_functions&amp;diff=26622"/>
		<updated>2011-08-05T11:01:06Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/createElement|createElement]]&lt;br /&gt;
*[[IT/destroyElement|destroyElement]]&lt;br /&gt;
*[[IT/getAttachedElements|getAttachedElements]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/getElementAttachedOffsets|getElementAttachedOffsets]]&lt;br /&gt;
*[[IT/getElementCollisionsEnabled|getElementCollisionsEnabled]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/getElementAttachedTo|getElementAttachedTo]]&lt;br /&gt;
*[[IT/getElementBoundingBox|getElementBoundingBox]]&lt;br /&gt;
*[[IT/getElementByID|getElementByID]]&lt;br /&gt;
*[[IT/getElementChild|getElementChild]]&lt;br /&gt;
*[[IT/getElementChildren|getElementChildren]]&lt;br /&gt;
*[[IT/getElementChildrenCount|getElementChildrenCount]]&lt;br /&gt;
*[[IT/getElementData|getElementData]]&lt;br /&gt;
*[[IT/getElementDimension|getElementDimension]]&lt;br /&gt;
*[[IT/getElementDistanceFromCentreOfMassToBaseOfModel|getElementDistanceFromCentreOfMassToBaseOfModel]]&lt;br /&gt;
*[[IT/getElementHealth|getElementHealth]]&lt;br /&gt;
*[[IT/getElementID|getElementID]]&lt;br /&gt;
*[[IT/getElementInterior|getElementInterior]]&lt;br /&gt;
*[[IT/getElementParent|getElementParent]]&lt;br /&gt;
*[[IT/getElementPosition|getElementPosition]]&lt;br /&gt;
*[[IT/getElementRadius|getElementRadius]]&lt;br /&gt;
*[[IT/getElementsByType|getElementsByType]]&lt;br /&gt;
*[[IT/getElementsWithinColShape|getElementsWithinColShape]]&lt;br /&gt;
*[[IT/getElementType|getElementType]]&lt;br /&gt;
*[[IT/getElementVelocity|getElementVelocity]]&lt;br /&gt;
*[[IT/getRootElement|getRootElement]]&lt;br /&gt;
*[[IT/isElement|isElement]]&lt;br /&gt;
*[[IT/isElementAttached|isElementAttached]]&lt;br /&gt;
*[[IT/isElementLocal|isElementLocal]]&lt;br /&gt;
*[[IT/isElementOnScreen|isElementOnScreen]]&lt;br /&gt;
*[[IT/isElementStreamable|isElementStreamable]]&lt;br /&gt;
*[[IT/isElementStreamedIn|isElementStreamedIn]]&lt;br /&gt;
*[[IT/isElementWithinColShape|isElementWithinColShape]]&lt;br /&gt;
*[[IT/setElementAlpha|setElementAlpha]]&lt;br /&gt;
*[[IT/setElementCollisionsEnabled|setElementCollisionsEnabled]]&lt;br /&gt;
*[[IT/setElementData|setElementData]]&lt;br /&gt;
*[[IT/setElementDimension|setElementDimension]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/setElementDoubleSided|setElementDoubleSided]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/setElementHealth|setElementHealth]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/setElementID|setElementID]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/setElementInterior|setElementInterior]]&lt;br /&gt;
*[[IT/setElementParent|setElementParent]]&lt;br /&gt;
*[[IT/setElementPosition|setElementPosition]]&lt;br /&gt;
*[[IT/setElementStreamable|setElementStreamable]]&lt;br /&gt;
*[[IT/setElementVelocity|setElementVelocity]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3|1.0|&lt;br /&gt;
*[[IT/attachElements|attachElements]]&lt;br /&gt;
*[[IT/detachElements|detachElements]]&lt;br /&gt;
*[[IT/getElementColShape|getElementColShape]]&lt;br /&gt;
*[[IT/getElementMatrix|getElementMatrix]]&lt;br /&gt;
*[[IT/getElementModel|getElementModel]]&lt;br /&gt;
*[[IT/getElementRotation|getElementRotation]]&lt;br /&gt;
*[[IT/isElementInWater|isElementInWater]]&lt;br /&gt;
*[[IT/isElementSyncer|isElementSyncer]]&lt;br /&gt;
*[[IT/setElementModel|setElementModel]]&lt;br /&gt;
*[[IT/setElementRotation|setElementRotation]]&lt;br /&gt;
}}&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0001|1.0.1|&lt;br /&gt;
*[[IT/isElementCollidableWith|isElementCollidableWith]]&lt;br /&gt;
*[[IT/setElementCollidableWith|setElementCollidableWith]]&lt;br /&gt;
}}&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/isElementDoubleSided|isElementDoubleSided]]&lt;br /&gt;
}}&lt;br /&gt;
{{IT/Caratteristiche nuove|3|DP3|&lt;br /&gt;
*[[IT/attachElementToElement|attachElementToElement]]&lt;br /&gt;
*[[IT/detachElementFromElement|detachElementFromElement]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_element_functions&amp;diff=26621</id>
		<title>Template:IT/Client element functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_element_functions&amp;diff=26621"/>
		<updated>2011-08-05T11:00:10Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/createElement|createElement]]&lt;br /&gt;
*[[IT/destroyElement|destroyElement]]&lt;br /&gt;
*[[IT/getAttachedElements|getAttachedElements]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/getElementAttachedOffsets|getElementAttachedOffsets]]&lt;br /&gt;
*[[IT/getElementCollisionsEnabled|getElementCollisionsEnabled]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/getElementAttachedTo|getElementAttachedTo]]&lt;br /&gt;
*[[IT/getElementBoundingBox|getElementBoundingBox]]&lt;br /&gt;
*[[IT/getElementByID|getElementByID]]&lt;br /&gt;
*[[IT/getElementChild|getElementChild]]&lt;br /&gt;
*[[IT/getElementChildren|getElementChildren]]&lt;br /&gt;
*[[IT/getElementChildrenCount|getElementChildrenCount]]&lt;br /&gt;
*[[IT/getElementData|getElementData]]&lt;br /&gt;
*[[IT/getElementDimension|getElementDimension]]&lt;br /&gt;
*[[IT/getElementDistanceFromCentreOfMassToBaseOfModel|getElementDistanceFromCentreOfMassToBaseOfModel]]&lt;br /&gt;
*[[IT/getElementHealth|getElementHealth]]&lt;br /&gt;
*[[IT/getElementID|getElementID]]&lt;br /&gt;
*[[IT/getElementInterior|getElementInterior]]&lt;br /&gt;
*[[IT/getElementParent|getElementParent]]&lt;br /&gt;
*[[IT/getElementPosition|getElementPosition]]&lt;br /&gt;
*[[IT/getElementRadius|getElementRadius]]&lt;br /&gt;
*[[IT/getElementsByType|getElementsByType]]&lt;br /&gt;
*[[IT/getElementsWithinColShape|getElementsWithinColShape]]&lt;br /&gt;
*[[IT/getElementType|getElementType]]&lt;br /&gt;
*[[IT/getElementVelocity|getElementVelocity]]&lt;br /&gt;
*[[IT/getRootElement|getRootElement]]&lt;br /&gt;
*[[IT/isElement|isElement]]&lt;br /&gt;
*[[IT/isElementAttached|isElementAttached]]&lt;br /&gt;
*[[IT/isElementLocal|isElementLocal]]&lt;br /&gt;
*[[IT/isElementOnScreen|isElementOnScreen]]&lt;br /&gt;
*[[IT/isElementStreamable|isElementStreamable]]&lt;br /&gt;
*[[IT/isElementStreamedIn|isElementStreamedIn]]&lt;br /&gt;
*[[IT/isElementWithinColShape|isElementWithinColShape]]&lt;br /&gt;
*[[IT/setElementAlpha|setElementAlpha]]&lt;br /&gt;
*[[IT/setElementCollisionsEnabled|setElementCollisionsEnabled]]&lt;br /&gt;
*[[IT/setElementData|setElementData]]&lt;br /&gt;
*[[IT/setElementDimension|setElementDimension]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/setElementDoubleSided|setElementDoubleSided]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/setElementHealth|setElementHealth]]&lt;br /&gt;
{{Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/setElementID|setElementID]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/setElementInterior|setElementInterior]]&lt;br /&gt;
*[[IT/setElementParent|setElementParent]]&lt;br /&gt;
*[[IT/setElementPosition|setElementPosition]]&lt;br /&gt;
*[[IT/setElementStreamable|setElementStreamable]]&lt;br /&gt;
*[[IT/setElementVelocity|setElementVelocity]]&lt;br /&gt;
{{Caratteristiche nuove|3|1.0|&lt;br /&gt;
*[[IT/attachElements|attachElements]]&lt;br /&gt;
*[[IT/detachElements|detachElements]]&lt;br /&gt;
*[[IT/getElementColShape|getElementColShape]]&lt;br /&gt;
*[[IT/getElementMatrix|getElementMatrix]]&lt;br /&gt;
*[[IT/getElementModel|getElementModel]]&lt;br /&gt;
*[[IT/getElementRotation|getElementRotation]]&lt;br /&gt;
*[[IT/isElementInWater|isElementInWater]]&lt;br /&gt;
*[[IT/isElementSyncer|isElementSyncer]]&lt;br /&gt;
*[[IT/setElementModel|setElementModel]]&lt;br /&gt;
*[[IT/setElementRotation|setElementRotation]]&lt;br /&gt;
{{Caratteristiche nuove|3.0001|1.0.1|&lt;br /&gt;
*[[IT/isElementCollidableWith|isElementCollidableWith]]&lt;br /&gt;
*[[IT/setElementCollidableWith|setElementCollidableWith]]&lt;br /&gt;
}}&lt;br /&gt;
{{Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/isElementDoubleSided|isElementDoubleSided]]&lt;br /&gt;
}}&lt;br /&gt;
{{IT/Caratteristiche nuove|3|DP3|&lt;br /&gt;
*[[IT/attachElementToElement|attachElementToElement]]&lt;br /&gt;
*[[IT/detachElementFromElement|detachElementFromElement]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_element_functions&amp;diff=26620</id>
		<title>Template:IT/Client element functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_element_functions&amp;diff=26620"/>
		<updated>2011-08-05T11:00:00Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/createElement|createElement]]&lt;br /&gt;
*[[IT/destroyElement|destroyElement]]&lt;br /&gt;
*[[IT/getAttachedElements|getAttachedElements]]&lt;br /&gt;
{{Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/getElementAttachedOffsets|getElementAttachedOffsets]]&lt;br /&gt;
*[[IT/getElementCollisionsEnabled|getElementCollisionsEnabled]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/getElementAttachedTo|getElementAttachedTo]]&lt;br /&gt;
*[[IT/getElementBoundingBox|getElementBoundingBox]]&lt;br /&gt;
*[[IT/getElementByID|getElementByID]]&lt;br /&gt;
*[[IT/getElementChild|getElementChild]]&lt;br /&gt;
*[[IT/getElementChildren|getElementChildren]]&lt;br /&gt;
*[[IT/getElementChildrenCount|getElementChildrenCount]]&lt;br /&gt;
*[[IT/getElementData|getElementData]]&lt;br /&gt;
*[[IT/getElementDimension|getElementDimension]]&lt;br /&gt;
*[[IT/getElementDistanceFromCentreOfMassToBaseOfModel|getElementDistanceFromCentreOfMassToBaseOfModel]]&lt;br /&gt;
*[[IT/getElementHealth|getElementHealth]]&lt;br /&gt;
*[[IT/getElementID|getElementID]]&lt;br /&gt;
*[[IT/getElementInterior|getElementInterior]]&lt;br /&gt;
*[[IT/getElementParent|getElementParent]]&lt;br /&gt;
*[[IT/getElementPosition|getElementPosition]]&lt;br /&gt;
*[[IT/getElementRadius|getElementRadius]]&lt;br /&gt;
*[[IT/getElementsByType|getElementsByType]]&lt;br /&gt;
*[[IT/getElementsWithinColShape|getElementsWithinColShape]]&lt;br /&gt;
*[[IT/getElementType|getElementType]]&lt;br /&gt;
*[[IT/getElementVelocity|getElementVelocity]]&lt;br /&gt;
*[[IT/getRootElement|getRootElement]]&lt;br /&gt;
*[[IT/isElement|isElement]]&lt;br /&gt;
*[[IT/isElementAttached|isElementAttached]]&lt;br /&gt;
*[[IT/isElementLocal|isElementLocal]]&lt;br /&gt;
*[[IT/isElementOnScreen|isElementOnScreen]]&lt;br /&gt;
*[[IT/isElementStreamable|isElementStreamable]]&lt;br /&gt;
*[[IT/isElementStreamedIn|isElementStreamedIn]]&lt;br /&gt;
*[[IT/isElementWithinColShape|isElementWithinColShape]]&lt;br /&gt;
*[[IT/setElementAlpha|setElementAlpha]]&lt;br /&gt;
*[[IT/setElementCollisionsEnabled|setElementCollisionsEnabled]]&lt;br /&gt;
*[[IT/setElementData|setElementData]]&lt;br /&gt;
*[[IT/setElementDimension|setElementDimension]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/setElementDoubleSided|setElementDoubleSided]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/setElementHealth|setElementHealth]]&lt;br /&gt;
{{Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/setElementID|setElementID]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/setElementInterior|setElementInterior]]&lt;br /&gt;
*[[IT/setElementParent|setElementParent]]&lt;br /&gt;
*[[IT/setElementPosition|setElementPosition]]&lt;br /&gt;
*[[IT/setElementStreamable|setElementStreamable]]&lt;br /&gt;
*[[IT/setElementVelocity|setElementVelocity]]&lt;br /&gt;
{{Caratteristiche nuove|3|1.0|&lt;br /&gt;
*[[IT/attachElements|attachElements]]&lt;br /&gt;
*[[IT/detachElements|detachElements]]&lt;br /&gt;
*[[IT/getElementColShape|getElementColShape]]&lt;br /&gt;
*[[IT/getElementMatrix|getElementMatrix]]&lt;br /&gt;
*[[IT/getElementModel|getElementModel]]&lt;br /&gt;
*[[IT/getElementRotation|getElementRotation]]&lt;br /&gt;
*[[IT/isElementInWater|isElementInWater]]&lt;br /&gt;
*[[IT/isElementSyncer|isElementSyncer]]&lt;br /&gt;
*[[IT/setElementModel|setElementModel]]&lt;br /&gt;
*[[IT/setElementRotation|setElementRotation]]&lt;br /&gt;
{{Caratteristiche nuove|3.0001|1.0.1|&lt;br /&gt;
*[[IT/isElementCollidableWith|isElementCollidableWith]]&lt;br /&gt;
*[[IT/setElementCollidableWith|setElementCollidableWith]]&lt;br /&gt;
}}&lt;br /&gt;
{{Caratteristiche nuove|3.0004|1.0.4|&lt;br /&gt;
*[[IT/isElementDoubleSided|isElementDoubleSided]]&lt;br /&gt;
}}&lt;br /&gt;
{{IT/Caratteristiche nuove|3|DP3|&lt;br /&gt;
*[[IT/attachElementToElement|attachElementToElement]]&lt;br /&gt;
*[[IT/detachElementFromElement|detachElementFromElement]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_collision_shape_functions&amp;diff=26619</id>
		<title>Template:IT/Client collision shape functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_collision_shape_functions&amp;diff=26619"/>
		<updated>2011-08-05T10:42:03Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/createColCircle|createColCircle]]&lt;br /&gt;
*[[IT/createColCuboid|createColCuboid]]&lt;br /&gt;
*[[IT/createColSphere|createColSphere]]&lt;br /&gt;
*[[IT/createColRectangle|createColRectangle]]&lt;br /&gt;
*[[IT/createColTube|createColTube]]&lt;br /&gt;
*[[IT/createColTube|createColPolygon]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_camera_functions&amp;diff=26618</id>
		<title>Template:IT/Client camera functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_camera_functions&amp;diff=26618"/>
		<updated>2011-08-05T10:41:11Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{IT/Caratteristiche deprecate|3|DP3|&lt;br /&gt;
*[[IT/getCameraPosition|getCameraPosition]]&lt;br /&gt;
*[[IT/getCameraRotation|getCameraRotation]]&lt;br /&gt;
*[[IT/setCameraLookAt|setCameraLookAt]]&lt;br /&gt;
*[[IT/setCameraPosition|setCameraPosition]]&lt;br /&gt;
*[[IT/getCameraFixedModeTarget|getCameraFixedModeTarget]]&lt;br /&gt;
*[[IT/toggleCameraFixedMode|toggleCameraFixedMode]]&lt;br /&gt;
*[[IT/rotateCameraRight|rotateCameraRight]]&lt;br /&gt;
*[[IT/rotateCameraUp|rotateCameraUp]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/fadeCamera|fadeCamera]]&lt;br /&gt;
*[[IT/getCameraTarget|getCameraTarget]]&lt;br /&gt;
*[[IT/setCameraTarget|setCameraTarget]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3|DP3|&lt;br /&gt;
*[[IT/getCameraMode|getCameraMode]]&lt;br /&gt;
*[[IT/getCameraMatrix|getCameraMatrix]]&lt;br /&gt;
*[[IT/getCameraInterior|getCameraInterior]]&lt;br /&gt;
*[[IT/setCameraMatrix|setCameraMatrix]]&lt;br /&gt;
*[[IT/setCameraInterior|setCameraInterior]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0001|1.0.1|&lt;br /&gt;
*[[IT/setCameraInterior|setCameraClip]]&lt;br /&gt;
}}&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/getCameraViewMode|getCameraViewMode]]&lt;br /&gt;
*[[IT/setCameraViewMode|setCameraViewMode]]&lt;br /&gt;
*[[IT/getCameraGoggleEffect|getCameraGoggleEffect]]&lt;br /&gt;
*[[IT/setCameraGoggleEffect|setCameraGoggleEffect]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_XML_functions&amp;diff=26617</id>
		<title>Template:IT/Client XML functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_XML_functions&amp;diff=26617"/>
		<updated>2011-08-05T10:36:00Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/xmlCopyFile|xmlCopyFile]]&lt;br /&gt;
*[[IT/xmlCreateFile|xmlCreateFile]]&lt;br /&gt;
*[[IT/xmlCreateSubNode|xmlCreateSubNode]]&lt;br /&gt;
*[[IT/xmlDestroyNode|xmlDestroyNode]]&lt;br /&gt;
*[[IT/xmlFindSubNode|xmlFindSubNode]]&lt;br /&gt;
*[[IT/xmlLoadFile|xmlLoadFile]]&lt;br /&gt;
*[[IT/xmlNodeGetAttribute|xmlNodeGetAttribute]]&lt;br /&gt;
*[[IT/xmlNodeGetValue|xmlNodeGetValue]]&lt;br /&gt;
*[[IT/xmlNodeSetAttribute|xmlNodeSetAttribute]]&lt;br /&gt;
*[[IT/xmlNodeSetValue|xmlNodeSetValue]]&lt;br /&gt;
*[[IT/xmlSaveFile|xmlSaveFile]]&lt;br /&gt;
*[[IT/xmlUnloadFile|xmlUnloadFile]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3|DP3|&lt;br /&gt;
*[[IT/xmlCreateChild|xmlCreateChild]]&lt;br /&gt;
*[[IT/xmlFindChild|xmlFindChild]]&lt;br /&gt;
*[[IT/xmlNodeGetParent|xmlNodeGetAttributes]]&lt;br /&gt;
*[[IT/xmlNodeGetChildren|xmlNodeGetChildren]]&lt;br /&gt;
*[[IT/xmlNodeGetParent|xmlNodeGetName]]&lt;br /&gt;
*[[IT/xmlNodeGetParent|xmlNodeGetParent]]&lt;br /&gt;
*[[IT/xmlNodeGetParent|xmlNodeSetName]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_Clothes_and_body_functions&amp;diff=26616</id>
		<title>Template:IT/Client Clothes and body functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Client_Clothes_and_body_functions&amp;diff=26616"/>
		<updated>2011-08-05T10:33:09Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{IT/Caratteristiche nuove|3|DP3|&lt;br /&gt;
*[[IT/addPlayerClothes|addPlayerClothes]]&lt;br /&gt;
*[[IT/getBodyPartName|getBodyPartName]]&lt;br /&gt;
*[[IT/getClothesByTypeIndex|getClothesByTypeIndex]]&lt;br /&gt;
*[[IT/getClothesTypeName|getClothesTypeName]]&lt;br /&gt;
*[[IT/getTypeIndexFromClothes|getTypeIndexFromClothes]]&lt;br /&gt;
*[[IT/removePlayerClothes|removePlayerClothes]]&lt;br /&gt;
*[[IT/getPlayerClothes|getPlayerClothes]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Camera_functions&amp;diff=26615</id>
		<title>Template:IT/Camera functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Camera_functions&amp;diff=26615"/>
		<updated>2011-08-05T10:31:36Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{IT/Caratteristiche deprecate|3|DP3|&lt;br /&gt;
* [[IT/getCameraPosition|getCameraPosition]]&lt;br /&gt;
* [[IT/setCameraPosition|setCameraPosition]]&lt;br /&gt;
* [[IT/setCameraLookAt|setCameraLookAt]]&lt;br /&gt;
* [[IT/setCameraMode|setCameraMode]]&lt;br /&gt;
}}&lt;br /&gt;
* [[IT/fadeCamera|fadeCamera]]&lt;br /&gt;
* [[IT/getCameraInterior|getCameraInterior]]&lt;br /&gt;
* [[IT/getCameraMatrix|getCameraMatrix]]&lt;br /&gt;
* [[IT/getCameraTarget|getCameraTarget]]&lt;br /&gt;
* [[IT/getCameraMode|getCameraMode]]&lt;br /&gt;
* [[IT/setCameraInterior|setCameraInterior]]&lt;br /&gt;
* [[IT/setCameraMatrix|setCameraMatrix]]&lt;br /&gt;
* [[IT/setCameraTarget|setCameraTarget]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Camera_functions&amp;diff=26614</id>
		<title>Template:IT/Camera functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Camera_functions&amp;diff=26614"/>
		<updated>2011-08-05T10:31:27Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{IT/Caratteristiche deprecate|3|DP3|&lt;br /&gt;
* [[IT/getCameraPosition|getCameraPosition]]&lt;br /&gt;
* [[IT/setCameraPosition|setCameraPosition]]&lt;br /&gt;
* [[IT/setCameraLookAt|setCameraLookAt]]&lt;br /&gt;
* [[IT/setCameraMode|setCameraMode]]&lt;br /&gt;
}}&lt;br /&gt;
* [[IT/fadeCamera|fadeCamera]]&lt;br /&gt;
* [[IT/getCameraInterior|getCameraInterior]]&lt;br /&gt;
* [[IT/getCameraMatrix|getCameraMatrix]]&lt;br /&gt;
* [[IT/getCameraTarget|getCameraTarget]]&lt;br /&gt;
* [[IT/getCameraMode|getCameraMode]]&lt;br /&gt;
* [[IT/setCameraInterior|setCameraInterior]&lt;br /&gt;
* [[IT/setCameraMatrix|setCameraMatrix]]&lt;br /&gt;
* [[IT/setCameraTarget|setCameraTarget]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Account_functions&amp;diff=26613</id>
		<title>Template:IT/Account functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Account_functions&amp;diff=26613"/>
		<updated>2011-08-05T10:27:33Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
*[[IT/addAccount|addAccount]]&lt;br /&gt;
*[[IT/copyAccountData|copyAccountData]]&lt;br /&gt;
*[[IT/getAccount|getAccount]]&lt;br /&gt;
*[[IT/getAccountData|getAccountData]]&lt;br /&gt;
*[[IT/getAccountName|getAccountName]]&lt;br /&gt;
*[[IT/getAccountName|getAccountPlayer]]&lt;br /&gt;
*[[IT/getAccount|getAccounts]]&lt;br /&gt;
*[[IT/isGuestAccount|isGuestAccount]]&lt;br /&gt;
*[[IT/logIn|logIn]]&lt;br /&gt;
*[[IT/logOut|logOut]]&lt;br /&gt;
*[[IT/removeAccount|removeAccount]]&lt;br /&gt;
*[[IT/setAccountPassword|setAccountPassword]]&lt;br /&gt;
*[[IT/setAccountData|setAccountData]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Resource_functions&amp;diff=26612</id>
		<title>Template:IT/Resource functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Resource_functions&amp;diff=26612"/>
		<updated>2011-08-05T10:24:24Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[IT/addResourceConfig|addResourceConfig]]&lt;br /&gt;
*[[IT/addResourceMap|addResourceMap]]&lt;br /&gt;
*[[IT/call|call]]&lt;br /&gt;
*[[IT/callRemote|callRemote]]&lt;br /&gt;
*[[IT/copyResource|copyResource]]&lt;br /&gt;
*[[IT/createResource|createResource]]&lt;br /&gt;
*[[IT/getResourceConfig|getResourceConfig]]&lt;br /&gt;
*[[IT/getResourceDynamicElementRoot|getResourceDynamicElementRoot]]&lt;br /&gt;
*[[IT/getResourceExportedFunctions|getResourceExportedFunctions]]&lt;br /&gt;
*[[IT/getResourceFromName|getResourceFromName]]&lt;br /&gt;
*[[IT/getResourceInfo|getResourceInfo]]&lt;br /&gt;
*[[IT/getResourceLastStartTime|getResourceLastStartTime]]&lt;br /&gt;
*[[IT/getResourceLoadFailureReason|getResourceLoadFailureReason]]&lt;br /&gt;
*[[IT/getResourceLoadTime|getResourceLoadTime]]&lt;br /&gt;
*[[IT/getResourceMapRootElement|getResourceMapRootElement]]&lt;br /&gt;
*[[IT/getResourceName|getResourceName]]&lt;br /&gt;
*[[IT/getResourceRootElement|getResourceRootElement]]&lt;br /&gt;
*[[IT/getResources|getResources]]&lt;br /&gt;
*[[IT/getResourceState|getResourceState]]&lt;br /&gt;
*[[IT/getThisResource|getThisResource]]&lt;br /&gt;
{{IT/Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/refreshResources|refreshResources]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/removeResourceDefaultSetting|removeResourceDefaultSetting]]&lt;br /&gt;
*[[IT/removeResourceFile|removeResourceFile]]&lt;br /&gt;
*[[IT/restartResource|restartResource]]&lt;br /&gt;
*[[IT/setResourceDefaultSetting|setResourceDefaultSetting]]&lt;br /&gt;
*[[IT/startResource|startResource]]&lt;br /&gt;
*[[IT/stopResource|stopResource]]&lt;br /&gt;
*[[IT/setResourceInfo|setResourceInfo]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Resource_functions&amp;diff=26611</id>
		<title>Template:IT/Resource functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Resource_functions&amp;diff=26611"/>
		<updated>2011-08-05T10:24:08Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: Created page with &amp;quot;*addResourceConfig *addResourceMap *call *callRemote *copyResource *[[IT/createRe...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[IT/addResourceConfig|addResourceConfig]]&lt;br /&gt;
*[[IT/addResourceMap|addResourceMap]]&lt;br /&gt;
*[[IT/call|call]]&lt;br /&gt;
*[[IT/callRemote|callRemote]]&lt;br /&gt;
*[[IT/copyResource|copyResource]]&lt;br /&gt;
*[[IT/createResource|createResource]]&lt;br /&gt;
*[[IT/getResourceConfig|getResourceConfig]]&lt;br /&gt;
*[[IT/getResourceDynamicElementRoot|getResourceDynamicElementRoot]]&lt;br /&gt;
*[[IT/getResourceExportedFunctions|getResourceExportedFunctions]]&lt;br /&gt;
*[[IT/getResourceFromName|getResourceFromName]]&lt;br /&gt;
*[[IT/getResourceInfo|getResourceInfo]]&lt;br /&gt;
*[[IT/getResourceLastStartTime|getResourceLastStartTime]]&lt;br /&gt;
*[[IT/getResourceLoadFailureReason|getResourceLoadFailureReason]]&lt;br /&gt;
*[[IT/getResourceLoadTime|getResourceLoadTime]]&lt;br /&gt;
*[[IT/getResourceMapRootElement|getResourceMapRootElement]]&lt;br /&gt;
*[[IT/getResourceName|getResourceName]]&lt;br /&gt;
*[[IT/getResourceRootElement|getResourceRootElement]]&lt;br /&gt;
*[[IT/getResources|getResources]]&lt;br /&gt;
*[[IT/getResourceState|getResourceState]]&lt;br /&gt;
*[[IT/getThisResource|getThisResource]]&lt;br /&gt;
{{Caratteristiche nuove|3.0110|1.1|&lt;br /&gt;
*[[IT/refreshResources|refreshResources]]&lt;br /&gt;
}}&lt;br /&gt;
*[[IT/removeResourceDefaultSetting|removeResourceDefaultSetting]]&lt;br /&gt;
*[[IT/removeResourceFile|removeResourceFile]]&lt;br /&gt;
*[[IT/restartResource|restartResource]]&lt;br /&gt;
*[[IT/setResourceDefaultSetting|setResourceDefaultSetting]]&lt;br /&gt;
*[[IT/startResource|startResource]]&lt;br /&gt;
*[[IT/stopResource|stopResource]]&lt;br /&gt;
*[[IT/setResourceInfo|setResourceInfo]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Pagina_principale&amp;diff=26607</id>
		<title>IT/Pagina principale</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Pagina_principale&amp;diff=26607"/>
		<updated>2011-08-05T09:57:57Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:IT/Pagine italiane]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted #5555FF;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;Questa wiki è stata tradotta da(in ordine cronologico): [[User:Shadd|Shadd]], [[User:Atti|Atti]], [[User:Talco|Talco]], [[User:ALexMiller|AlexMiller]] e [[User:KITT1995|KITT1995]].&amp;lt;br /&amp;gt;This wiki has been translated by(in chronological order): [[User:Shadd|Shadd]], [[User:Atti|Atti]], [[User:Talco|Talco]], [[User:ALexMiller|AlexMiller]] and [[User:KITT1995|KITT1995]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float:right;&amp;quot;&amp;gt;[[Image:Scripting.jpg]]&amp;lt;/div&amp;gt;&lt;br /&gt;
Benvenuto nella wiki in italiano di Multi Theft Auto: San Andreas Deathmatch. Qui troverai abbondanti informazioni sullo sviluppo di gamemode e mappe per Multi Theft Auto.&lt;br /&gt;
&lt;br /&gt;
Stiamo rilasciando le ''anteprime per lo sviluppatore'' perchè abbiamo bisogno del tuo aiuto! Ci sono molte [[IT/Come puoi aiutare|cose che puoi fare per aiutarci]] ad ottenere una release completa e raffinata di MTA:SA DM - creare una mappa, una gamemode, aiutare a documentare le funzioni, scrivere del codice di esempio, dei tutorial o semplicemente giocare a MTA e riportare nel forum i bug che trovi.&lt;br /&gt;
&lt;br /&gt;
Questa release è una gran cosa per noi - rilasciamo il prodotto di due anni del nostro lavoro e non possiamo aspettare di vedere cosa ci fate. Ricorda che possono capitare degli inevitabili problemi e che comunque le cose non sono ancora del tutto complete!&lt;br /&gt;
&lt;br /&gt;
Se hai qualche domanda o problema relativo allo scripting, sentiti libero di metterti in contatto con noi (in inglese) attraverso il nostro [[IT/Canale IRC|Canale IRC]].&lt;br /&gt;
&lt;br /&gt;
'''Hai bisogno di possedere un account in mtabeta.com per poter modificare questa wiki.''' Per favore registrati in [http://www.mtabeta.com mtabeta.com] e poi usa gli stessi dati per fare il login qui. Se vandalizzerai questa wiki verrai bannato.&lt;br /&gt;
&lt;br /&gt;
La wiki supporta '''[http://gears.google.com/ Google Gears]''', che ti permetterà di vedere questa wiki anche offline (e velocemente). Installa Google Gears e clicca il link ''Go Offline'' in fondo ad ogni pagina. Aspetta un'ora (!) che venga scaricata, quando avrà finito lo vedrai in basso ad ogni pagina, appena dopo il link ''Go Offline''. Fatto ciò, usa l'opzione ''Lavora scollegato'' del tuo browser (in genere nel menu File), o disconnettiti da internet e naviga nella wiki normalmente.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 2px dotted navy; padding: 4px; margin: 10px&amp;quot;&amp;gt;L'ultima versione disponibile di '''Multi Theft Auto: San Andreas Deathmatch''' è la 1.0.5. Visita la pagina [http://www.mtasa.com/] e scaricala!&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear:both;&amp;quot;&amp;gt;&amp;lt;/div&amp;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;
|-&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 dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
==Per iniziare==&lt;br /&gt;
* [[IT/Manuale del Client|Manuale del Client]] {{IT/100%}}&lt;br /&gt;
* [[IT/Manuale del Server|Manuale del Server]] {{IT/100%}}&lt;br /&gt;
* [[IT/Bugs noti e FAQ|Bugs noti e FAQ]] {{IT/100%}}&lt;br /&gt;
* [[IT/Introduzione allo scripting|Introduzione allo Scripting]] {{IT/100%}}&lt;br /&gt;
* [[IT/Introduzione allo scripting della GUI|Introduzione allo scripting della GUI]] {{IT/100%}}&lt;br /&gt;
* [[IT/Guida al Debug|Guida al Debug]] {{IT/100%}} - Come trovare gli errori dei tuoi scripts&lt;br /&gt;
* [[IT/Classi di MTA|Classi di MTA]] {{IT/100%}}&lt;br /&gt;
** [[IT/Elemento|Elementi di MTA]] / [[IT/Albero degli elementi|Albero degli elementi]] {{IT/100%}}&lt;br /&gt;
* [[IT/Introduzione alle Risorse|Introduzione alle Risorse]] {{IT/100%}}&lt;br /&gt;
** [[IT/Accesso web alle Risorse|Accesso web alle Risorse]] {{IT/00%}}&lt;br /&gt;
** [[:Category:IT/Risorse|Catalogo risorse]]&lt;br /&gt;
** [[IT/Meta.xml|Meta.xml]] {{IT/100%}}&lt;br /&gt;
* [[IT/Scrivere una gamemode|Scrivere una gamemode]] {{IT/100%}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Database==&lt;br /&gt;
Questa sezione delinea tutte le possibilità che MTA o le ''resources'' danno.&lt;br /&gt;
* [[Resource:IT/Map manager|Map Manager]] {{IT/100%}}&lt;br /&gt;
* [[IT/Script client-side|Script client-side]] {{IT/100%}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Guide LUA==&lt;br /&gt;
Pagine create per aiutarti a comprendere il LUA (in inglese). &lt;br /&gt;
*[http://www.lua.org/pil/index.html &amp;quot;Programming in LUA&amp;quot; Manual]&lt;br /&gt;
*[http://lua-users.org/wiki/TutorialDirectory LUA Wiki]&lt;br /&gt;
*[http://nixstaller.berlios.de/manual/0.2/nixstaller_9.html Una guida generica al LUA di Nixstaller]&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 dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px; background:#CCCCFF;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Documentazione==&lt;br /&gt;
* [[IT/Funzioni Client-side|Funzioni Client-side]] {{IT/25%}}&lt;br /&gt;
* [[IT/Eventi Client-side|Eventi Client-side]] {{IT/00%}}&lt;br /&gt;
* [[IT/Funzioni Server-side|Funzioni Server-side]] {{IT/00%}}&lt;br /&gt;
* [[IT/Eventi Server-side|Eventi Server-side]] {{IT/00%}}&lt;br /&gt;
&amp;lt;!-- Incomplete * [[Module functions|Server-side external module scripting functions list]] --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Liste ID==&lt;br /&gt;
* [[IT/Skin Personaggi|Skin Personaggi]] {{IT/100%}} ([[IT/Tutte Le Skin|Tutte Le Skin)]] {{IT/100%}}&lt;br /&gt;
* [[IT/Vestiti di CJ|Vestiti di CJ]] {{IT/100%}}&lt;br /&gt;
* [[Template:IT/Proiettili|Proiettili]] {{IT/100%}}&lt;br /&gt;
* [[Template:IT/Segnalini radar|Segnalini radar]] {{IT/100%}}&lt;br /&gt;
* [[Template:IT/Suoni|Suoni]] {{IT/100%}}&lt;br /&gt;
* [[IT/ID Veicoli|Veicoli]] {{IT/100%}}&lt;br /&gt;
* [[IT/Colori default veicoli|Colori di default dei veicoli]] {{IT/100%}}&lt;br /&gt;
* [[Template:IT/Colori veicoli|Tabella dei colori dei veicoli]] {{IT/100%}}&lt;br /&gt;
* [[IT/Modifiche Veicoli|Modifiche Veicoli]] {{IT/100%}}&lt;br /&gt;
* [[IT/Armi|Armi]] {{IT/100%}}&lt;br /&gt;
* [[IT/Meteo|Meteo]] {{IT/100%}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Avanzamento pagine==&lt;br /&gt;
Categorie di [[:Category:IT/Pagine italiane|tutte le pagine italiane]] divise per l'avanzamento della traduzione.&lt;br /&gt;
* {{IT/100%}} [[:Category:100%|100% Complete]]&lt;br /&gt;
* {{IT/75%}} [[:Category:75%|75% Quasi complete]]&lt;br /&gt;
* {{IT/50%}} [[:Category:50%|50% A metà]]&lt;br /&gt;
* {{IT/25%}} [[:Category:25%|25% Incomplete]]&lt;br /&gt;
* {{IT/00%}} [[:Category:00%|00% Quasi vuote]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[de:Hauptseite]]&lt;br /&gt;
[[en:Main Page]]&lt;br /&gt;
[[es:Pagina Principal]]&lt;br /&gt;
[[nl:Main Page]]&lt;br /&gt;
[[pl:Main Page]]&lt;br /&gt;
[[ru:Main Page]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26606</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26606"/>
		<updated>2011-08-05T09:57:43Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Category:100%]]&lt;br /&gt;
MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlato al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client|client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;.map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;br /&gt;
&lt;br /&gt;
==Esempio==&lt;br /&gt;
Questo è un esempio di un albero serverside scaricato in formato XML da un server in esecuzione.&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;Infrangi nella fattoria&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;
&lt;br /&gt;
===Spiegazione===&lt;br /&gt;
Questo albero è costituito da una serie di elementi della resource root, la [[IT/Elemento/Console|console del server]] e due [[IT/Elemento/Player|giocatori]], che sono figli diretti dell'elemento '''root'''. Tutte queste risorse hanno una ''mappa dinamica'' come elemento figlio (che non è indicato per la maggior parte di essi). Questi contengono gli elementi che vengono creati dinamicamente da questa risorsa utilizzando script, ad esempio un [[IT/Elemento/Veicolo|veicolo]]. Se la risorsa è un file di mappa, è anche un elemento figlio, che contiene in sé tutti gli elementi nel file .map.&lt;br /&gt;
&lt;br /&gt;
Diamo uno sguardo più da vicino alla risorsa '''assault''': questa contiene solo una ''mappa dinamica'', che ha 2 squadre, 3 segnalini, 1 marcatore e 1 colshape come elementi figlio. Questi sono gli elementi che vengono creati dallo script, per esempio il marcatore, il colshape e uno dei segnalini sono probabilmente utilizzati per l'obiettivo.&lt;br /&gt;
&lt;br /&gt;
La risorsa '''as-farm''', al contrario, deve essere una mappa per la gamemode '''assault'''. La mappa dinamica è vuoto (potrebbe però contenere elementi se ci fosse uno script in essa), mentre vi è una mappa chiamata 'as-farm.map', che contiene una serie di elementi. Questi sono per lo più elementi personalizzati (come spawngroup, spawnarea, objective) ma anche alcuni elementi che MTA crea automaticamente dopo il caricamento della mappa (come il pick-up). Nelle parentesi dopo il tipo di elemento, è possibile visualizzare gli elementi in esso contenuti. Questi sono identici con gli attributi del file .map contenuti all'interno di questi elementi, mentre è anche possibile impostare e ottenere i dati di un elemento per tutti gli altri elementi (ad esempio i giocatori) con [[IT/setElementData|setElementData]] e [[IT/getElementData|getElementData]].&lt;br /&gt;
&lt;br /&gt;
==Applicazione pratica==&lt;br /&gt;
Gli elementi possono avere quanti figli vogliono. In ogni modo questo non influisce direttamente sulla mappa, ma si esprimono al meglio quando sono combinati con il sistema di scripting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===impostazione dei dati per gli elementi===&lt;br /&gt;
Se chiami la funzione di un set su un nodo dell'albero degli elementi, la funzione influenzerà ogni elemento al suo interno.&lt;br /&gt;
&lt;br /&gt;
Così, il seguente codice imposterà la dimensione di ogni marcatore (l'unico tipo di elemento della funzione setMarkerSize che può funzionare) che si trova sotto l'elemento principale, a ''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;
Lo stesso può essere fatto con ogni elemento, non è limitato all'elemento root.&lt;br /&gt;
&lt;br /&gt;
===Map manager===&lt;br /&gt;
L'[[#Esempio|esempio sopra]] mostra il modo in cui il [[IT/Map_manager|Map Manager]] usa le differenti risorse. la risorsa 'assault' è la gamemode, che gestisce cosa succede sul server usando gli script e quindi creando elementi nell'albero dinamicamente. Quando la risorsa di una mappa è stata avviata, la gamemode riceve una [[IT/Risorsa|risorsa puntatore]] che fa riferimento alla risorsa avviata - in questo caso ''as-farm'' - da cui è possibile recuperare e conservare l'elemento root della risorsa. Usando questo elemento in congiunzione con funzioni come [[IT/getElementsByType|getElementsByType]], [[IT/getElementData|getElementData]]] e altre, puoi accedere qualunque delle informazioni che sono state caricate nell'albero dal file 'as-farm.map' attraverso gli script nella risorsa della gamemode.&lt;br /&gt;
&lt;br /&gt;
Un'altra cosa che deve essere considerata in relazione con l'albero degli elementi è il fatto che quando si modifica la mappa, non è necessario rimuovere alcun elemento che si è creato all'interno della risorsa della mappa, mentre '''devi''' rimuovere gli elementi che vengono creati all'interno della risorsa della gamemode, '''se''' sono specifici della mappa (che sarà probabilmente il caso di quegli oggetti che crei basandoti sulle informazioni lette dai file della risorsa del .map).&lt;br /&gt;
&lt;br /&gt;
==Browser degli elementi==&lt;br /&gt;
Puoi avviare la risorsa ''elementbrowser'' per avere una vista dal vivo dell'albero degli elementi sul tuo server. Avvia la risorsa e sfoglia nelle pagine web del tuo server e scegli l'opzione '''Element Browser'' nella sidebar.&lt;br /&gt;
&lt;br /&gt;
[[Category:IT/Concetti di scripting]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26604</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26604"/>
		<updated>2011-08-05T09:56:28Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Category:100%]]&lt;br /&gt;
MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlato al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client|client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;.map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;br /&gt;
&lt;br /&gt;
==Esempio==&lt;br /&gt;
Questo è un esempio di un albero serverside scaricato in formato XML da un server in esecuzione.&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;Infrangi nella fattoria&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;
&lt;br /&gt;
===Spiegazione===&lt;br /&gt;
Questo albero è costituito da una serie di elementi della resource root, la [[IT/Elemento/Console|console del server]] e due [[IT/Elemento/Player|giocatori]], che sono figli diretti dell'elemento '''root'''. Tutte queste risorse hanno una ''mappa dinamica'' come elemento figlio (che non è indicato per la maggior parte di essi). Questi contengono gli elementi che vengono creati dinamicamente da questa risorsa utilizzando script, ad esempio un [[IT/Elemento/Veicolo|veicolo]]. Se la risorsa è un file di mappa, è anche un elemento figlio, che contiene in sé tutti gli elementi nel file .map.&lt;br /&gt;
&lt;br /&gt;
Diamo uno sguardo più da vicino alla risorsa '''assault''': questa contiene solo una ''mappa dinamica'', che ha 2 squadre, 3 segnalini, 1 marcatore e 1 colshape come elementi figlio. Questi sono gli elementi che vengono creati dallo script, per esempio il marcatore, il colshape e uno dei segnalini sono probabilmente utilizzati per l'obiettivo.&lt;br /&gt;
&lt;br /&gt;
La risorsa '''as-farm''', al contrario, deve essere una mappa per la gamemode '''assault'''. La mappa dinamica è vuoto (potrebbe però contenere elementi se ci fosse uno script in essa), mentre vi è una mappa chiamata 'as-farm.map', che contiene una serie di elementi. Questi sono per lo più elementi personalizzati (come spawngroup, spawnarea, objective) ma anche alcuni elementi che MTA crea automaticamente dopo il caricamento della mappa (come il pick-up). Nelle parentesi dopo il tipo di elemento, è possibile visualizzare gli elementi in esso contenuti. Questi sono identici con gli attributi del file .map contenuti all'interno di questi elementi, mentre è anche possibile impostare e ottenere i dati di un elemento per tutti gli altri elementi (ad esempio i giocatori) con [[IT/setElementData|setElementData]] e [[IT/getElementData|getElementData]].&lt;br /&gt;
&lt;br /&gt;
==Applicazione pratica==&lt;br /&gt;
Gli elementi possono avere quanti figli vogliono. In ogni modo questo non influisce direttamente sulla mappa, ma si esprimono al meglio quando sono combinati con il sistema di scripting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===impostazione dei dati per gli elementi===&lt;br /&gt;
Se chiami la funzione di un set su un nodo dell'albero degli elementi, la funzione influenzerà ogni elemento al suo interno.&lt;br /&gt;
&lt;br /&gt;
Così, il seguente codice imposterà la dimensione di ogni marcatore (l'unico tipo di elemento della funzione setMarkerSize che può funzionare) che si trova sotto l'elemento principale, a ''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;
Lo stesso può essere fatto con ogni elemento, non è limitato all'elemento root.&lt;br /&gt;
&lt;br /&gt;
===Map manager===&lt;br /&gt;
L'[[#Esempio|esempio sopra]] mostra il modo in cui il [[IT/Map_manager|Map Manager]] usa le differenti risorse. la risorsa 'assault' è la gamemode, che gestisce cosa succede sul server usando gli script e quindi creando elementi nell'albero dinamicamente. Quando la risorsa di una mappa è stata avviata, la gamemode riceve una [[IT/Risorsa|risorsa puntatore]] che fa riferimento alla risorsa avviata - in questo caso ''as-farm'' - da cui è possibile recuperare e conservare l'elemento root della risorsa. Usando questo elemento in congiunzione con funzioni come [[IT/getElementsByType|getElementsByType]], [[IT/getElementData|getElementData]]] e altre, puoi accedere qualunque delle informazioni che sono state caricate nell'albero dal file 'as-farm.map' attraverso gli script nella risorsa della gamemode.&lt;br /&gt;
&lt;br /&gt;
Un'altra cosa che deve essere considerata in relazione con l'albero degli elementi è il fatto che quando si modifica la mappa, non è necessario rimuovere alcun elemento che si è creato all'interno della risorsa della mappa, mentre '''devi''' rimuovere gli elementi che vengono creati all'interno della risorsa della gamemode, '''se''' sono specifici della mappa (che sarà probabilmente il caso di quegli oggetti che crei basandoti sulle informazioni lette dai file della risorsa del .map).&lt;br /&gt;
&lt;br /&gt;
==Browser degli elementi==&lt;br /&gt;
Puoi avviare la risorsa ''elementbrowser'' per avere una vista dal vivo dell'albero degli elementi sul tuo server. Avvia la risorsa e sfoglia nelle pagine web del tuo server e scegli l'opzione '''Element Browser'' nella sidebar.&lt;br /&gt;
&lt;br /&gt;
[[Category:Concetti di scripting]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26603</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26603"/>
		<updated>2011-08-05T09:54:47Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Category:100%]]&lt;br /&gt;
MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlato al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client|client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;.map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;br /&gt;
&lt;br /&gt;
==Esempio==&lt;br /&gt;
Questo è un esempio di un albero serverside scaricato in formato XML da un server in esecuzione.&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;Infrangi nella fattoria&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;
&lt;br /&gt;
===Spiegazione===&lt;br /&gt;
Questo albero è costituito da una serie di elementi della resource root, la [[IT/Elemento/Console|console del server]] e due [[IT/Elemento/Player|giocatori]], che sono figli diretti dell'elemento '''root'''. Tutte queste risorse hanno una ''mappa dinamica'' come elemento figlio (che non è indicato per la maggior parte di essi). Questi contengono gli elementi che vengono creati dinamicamente da questa risorsa utilizzando script, ad esempio un [[IT/Elemento/Veicolo|veicolo]]. Se la risorsa è un file di mappa, è anche un elemento figlio, che contiene in sé tutti gli elementi nel file .map.&lt;br /&gt;
&lt;br /&gt;
Diamo uno sguardo più da vicino alla risorsa '''assault''': questa contiene solo una ''mappa dinamica'', che ha 2 squadre, 3 segnalini, 1 marcatore e 1 colshape come elementi figlio. Questi sono gli elementi che vengono creati dallo script, per esempio il marcatore, il colshape e uno dei segnalini sono probabilmente utilizzati per l'obiettivo.&lt;br /&gt;
&lt;br /&gt;
La risorsa '''as-farm''', al contrario, deve essere una mappa per la gamemode '''assault'''. La mappa dinamica è vuoto (potrebbe però contenere elementi se ci fosse uno script in essa), mentre vi è una mappa chiamata 'as-farm.map', che contiene una serie di elementi. Questi sono per lo più elementi personalizzati (come spawngroup, spawnarea, objective) ma anche alcuni elementi che MTA crea automaticamente dopo il caricamento della mappa (come il pick-up). Nelle parentesi dopo il tipo di elemento, è possibile visualizzare gli elementi in esso contenuti. Questi sono identici con gli attributi del file .map contenuti all'interno di questi elementi, mentre è anche possibile impostare e ottenere i dati di un elemento per tutti gli altri elementi (ad esempio i giocatori) con [[IT/setElementData|setElementData]] e [[IT/getElementData|getElementData]].&lt;br /&gt;
&lt;br /&gt;
==Applicazione pratica==&lt;br /&gt;
Gli elementi possono avere quanti figli vogliono. In ogni modo questo non influisce direttamente sulla mappa, ma si esprimono al meglio quando sono combinati con il sistema di scripting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===impostazione dei dati per gli elementi===&lt;br /&gt;
Se chiami la funzione di un set su un nodo dell'albero degli elementi, la funzione influenzerà ogni elemento al suo interno.&lt;br /&gt;
&lt;br /&gt;
Così, il seguente codice imposterà la dimensione di ogni marcatore (l'unico tipo di elemento della funzione setMarkerSize che può funzionare) che si trova sotto l'elemento principale, a ''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;
Lo stesso può essere fatto con ogni elemento, non è limitato all'elemento root.&lt;br /&gt;
&lt;br /&gt;
===Map manager===&lt;br /&gt;
L'[[#Esempio|esempio sopra]] mostra il modo in cui il [[IT/Map_manager]] usa le differenti risorse. la risorsa 'assault' è la gamemode, che gestisce cosa succede sul server usando gli script e quindi creando elementi nell'albero dinamicamente. Quando la risorsa di una mappa è stata avviata, la gamemode riceve una [[IT/Risorsa|risorsa puntatore]] che fa riferimento alla risorsa avviata - in questo caso ''as-farm'' - da cui è possibile recuperare e conservare l'elemento root della risorsa. Usando questo elemento in congiunzione con funzioni come [[IT/getElementsByType|getElementsByType]], [[IT/getElementData|getElementData]]] e altre, puoi accedere qualunque delle informazioni che sono state caricate nell'albero dal file 'as-farm.map' attraverso gli script nella risorsa della gamemode.&lt;br /&gt;
&lt;br /&gt;
Un'altra cosa che deve essere considerata in relazione con l'albero degli elementi è il fatto che quando si modifica la mappa, non è necessario rimuovere alcun elemento che si è creato all'interno della risorsa della mappa, mentre '''devi''' rimuovere gli elementi che vengono creati all'interno della risorsa della gamemode, '''se''' sono specifici della mappa (che sarà probabilmente il caso di quegli oggetti che crei basandoti sulle informazioni lette dai file della risorsa del .map).&lt;br /&gt;
&lt;br /&gt;
==Browser degli elementi==&lt;br /&gt;
Puoi avviare la risorsa ''elementbrowser'' per avere una vista dal vivo dell'albero degli elementi sul tuo server. Avvia la risorsa e sfoglia nelle pagine web del tuo server e scegli l'opzione '''Element Browser'' nella sidebar.&lt;br /&gt;
&lt;br /&gt;
[[IT/Category:Concetti di scripting]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26602</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26602"/>
		<updated>2011-08-05T09:54:13Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Category:100%]]&lt;br /&gt;
MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlato al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client|client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;.map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;br /&gt;
&lt;br /&gt;
==Esempio==&lt;br /&gt;
Questo è un esempio di un albero serverside scaricato in formato XML da un server in esecuzione.&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;Infrangi nella fattoria&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;
&lt;br /&gt;
===Spiegazione===&lt;br /&gt;
Questo albero è costituito da una serie di elementi della resource root, la [[IT/Elemento/Console|console del server]] e due [[IT/Elemento/Player|giocatori]], che sono figli diretti dell'elemento '''root'''. Tutte queste risorse hanno una ''mappa dinamica'' come elemento figlio (che non è indicato per la maggior parte di essi). Questi contengono gli elementi che vengono creati dinamicamente da questa risorsa utilizzando script, ad esempio un [[IT/Elemento/veicolo|veicolo]]. Se la risorsa è un file di mappa, è anche un elemento figlio, che contiene in sé tutti gli elementi nel file .map.&lt;br /&gt;
&lt;br /&gt;
Diamo uno sguardo più da vicino alla risorsa '''assault''': questa contiene solo una ''mappa dinamica'', che ha 2 squadre, 3 segnalini, 1 marcatore e 1 colshape come elementi figlio. Questi sono gli elementi che vengono creati dallo script, per esempio il marcatore, il colshape e uno dei segnalini sono probabilmente utilizzati per l'obiettivo.&lt;br /&gt;
&lt;br /&gt;
La risorsa '''as-farm''', al contrario, deve essere una mappa per la gamemode '''assault'''. La mappa dinamica è vuoto (potrebbe però contenere elementi se ci fosse uno script in essa), mentre vi è una mappa chiamata 'as-farm.map', che contiene una serie di elementi. Questi sono per lo più elementi personalizzati (come spawngroup, spawnarea, objective) ma anche alcuni elementi che MTA crea automaticamente dopo il caricamento della mappa (come il pick-up). Nelle parentesi dopo il tipo di elemento, è possibile visualizzare gli elementi in esso contenuti. Questi sono identici con gli attributi del file .map contenuti all'interno di questi elementi, mentre è anche possibile impostare e ottenere i dati di un elemento per tutti gli altri elementi (ad esempio i giocatori) con [[IT/setElementData|setElementData]] e [[IT/getElementData|getElementData]].&lt;br /&gt;
&lt;br /&gt;
==Applicazione pratica==&lt;br /&gt;
Gli elementi possono avere quanti figli vogliono. In ogni modo questo non influisce direttamente sulla mappa, ma si esprimono al meglio quando sono combinati con il sistema di scripting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===impostazione dei dati per gli elementi===&lt;br /&gt;
Se chiami la funzione di un set su un nodo dell'albero degli elementi, la funzione influenzerà ogni elemento al suo interno.&lt;br /&gt;
&lt;br /&gt;
Così, il seguente codice imposterà la dimensione di ogni marcatore (l'unico tipo di elemento della funzione setMarkerSize che può funzionare) che si trova sotto l'elemento principale, a ''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;
Lo stesso può essere fatto con ogni elemento, non è limitato all'elemento root.&lt;br /&gt;
&lt;br /&gt;
===Map manager===&lt;br /&gt;
L'[[#Esempio|esempio sopra]] mostra il modo in cui il [[IT/Map_manager]] usa le differenti risorse. la risorsa 'assault' è la gamemode, che gestisce cosa succede sul server usando gli script e quindi creando elementi nell'albero dinamicamente. Quando la risorsa di una mappa è stata avviata, la gamemode riceve una [[IT/Risorsa|risorsa puntatore]] che fa riferimento alla risorsa avviata - in questo caso ''as-farm'' - da cui è possibile recuperare e conservare l'elemento root della risorsa. Usando questo elemento in congiunzione con funzioni come [[IT/getElementsByType|getElementsByType]], [[IT/getElementData|getElementData]]] e altre, puoi accedere qualunque delle informazioni che sono state caricate nell'albero dal file 'as-farm.map' attraverso gli script nella risorsa della gamemode.&lt;br /&gt;
&lt;br /&gt;
Un'altra cosa che deve essere considerata in relazione con l'albero degli elementi è il fatto che quando si modifica la mappa, non è necessario rimuovere alcun elemento che si è creato all'interno della risorsa della mappa, mentre '''devi''' rimuovere gli elementi che vengono creati all'interno della risorsa della gamemode, '''se''' sono specifici della mappa (che sarà probabilmente il caso di quegli oggetti che crei basandoti sulle informazioni lette dai file della risorsa del .map).&lt;br /&gt;
&lt;br /&gt;
==Browser degli elementi==&lt;br /&gt;
Puoi avviare la risorsa ''elementbrowser'' per avere una vista dal vivo dell'albero degli elementi sul tuo server. Avvia la risorsa e sfoglia nelle pagine web del tuo server e scegli l'opzione '''Element Browser'' nella sidebar.&lt;br /&gt;
&lt;br /&gt;
[[IT/Category:Concetti di scripting]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26601</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26601"/>
		<updated>2011-08-05T09:53:23Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Category:100%]]&lt;br /&gt;
MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlato al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client|client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;.map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;br /&gt;
&lt;br /&gt;
==Esempio==&lt;br /&gt;
Questo è un esempio di un albero serverside scaricato in formato XML da un server in esecuzione.&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;Infrangi nella fattoria&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;
&lt;br /&gt;
===Spiegazione===&lt;br /&gt;
Questo albero è costituito da una serie di elementi della resource root, la [[IT/Elemento/Console del server|console del server]] e due [[IT/Elemento/Player|giocatori]], che sono figli diretti dell'elemento '''root'''. Tutte queste risorse hanno una ''mappa dinamica'' come elemento figlio (che non è indicato per la maggior parte di essi). Questi contengono gli elementi che vengono creati dinamicamente da questa risorsa utilizzando script, ad esempio un [[IT/Elemento/veicolo|veicolo]]. Se la risorsa è un file di mappa, è anche un elemento figlio, che contiene in sé tutti gli elementi nel file .map.&lt;br /&gt;
&lt;br /&gt;
Diamo uno sguardo più da vicino alla risorsa '''assault''': questa contiene solo una ''mappa dinamica'', che ha 2 squadre, 3 segnalini, 1 marcatore e 1 colshape come elementi figlio. Questi sono gli elementi che vengono creati dallo script, per esempio il marcatore, il colshape e uno dei segnalini sono probabilmente utilizzati per l'obiettivo.&lt;br /&gt;
&lt;br /&gt;
La risorsa '''as-farm''', al contrario, deve essere una mappa per la gamemode '''assault'''. La mappa dinamica è vuoto (potrebbe però contenere elementi se ci fosse uno script in essa), mentre vi è una mappa chiamata 'as-farm.map', che contiene una serie di elementi. Questi sono per lo più elementi personalizzati (come spawngroup, spawnarea, objective) ma anche alcuni elementi che MTA crea automaticamente dopo il caricamento della mappa (come il pick-up). Nelle parentesi dopo il tipo di elemento, è possibile visualizzare gli elementi in esso contenuti. Questi sono identici con gli attributi del file .map contenuti all'interno di questi elementi, mentre è anche possibile impostare e ottenere i dati di un elemento per tutti gli altri elementi (ad esempio i giocatori) con [[IT/setElementData|setElementData]] e [[IT/getElementData|getElementData]].&lt;br /&gt;
&lt;br /&gt;
==Applicazione pratica==&lt;br /&gt;
Gli elementi possono avere quanti figli vogliono. In ogni modo questo non influisce direttamente sulla mappa, ma si esprimono al meglio quando sono combinati con il sistema di scripting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===impostazione dei dati per gli elementi===&lt;br /&gt;
Se chiami la funzione di un set su un nodo dell'albero degli elementi, la funzione influenzerà ogni elemento al suo interno.&lt;br /&gt;
&lt;br /&gt;
Così, il seguente codice imposterà la dimensione di ogni marcatore (l'unico tipo di elemento della funzione setMarkerSize che può funzionare) che si trova sotto l'elemento principale, a ''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;
Lo stesso può essere fatto con ogni elemento, non è limitato all'elemento root.&lt;br /&gt;
&lt;br /&gt;
===Map manager===&lt;br /&gt;
L'[[#Esempio|esempio sopra]] mostra il modo in cui il [[IT/Map_manager]] usa le differenti risorse. la risorsa 'assault' è la gamemode, che gestisce cosa succede sul server usando gli script e quindi creando elementi nell'albero dinamicamente. Quando la risorsa di una mappa è stata avviata, la gamemode riceve una [[IT/Risorsa|risorsa puntatore]] che fa riferimento alla risorsa avviata - in questo caso ''as-farm'' - da cui è possibile recuperare e conservare l'elemento root della risorsa. Usando questo elemento in congiunzione con funzioni come [[IT/getElementsByType|getElementsByType]], [[IT/getElementData|getElementData]]] e altre, puoi accedere qualunque delle informazioni che sono state caricate nell'albero dal file 'as-farm.map' attraverso gli script nella risorsa della gamemode.&lt;br /&gt;
&lt;br /&gt;
Un'altra cosa che deve essere considerata in relazione con l'albero degli elementi è il fatto che quando si modifica la mappa, non è necessario rimuovere alcun elemento che si è creato all'interno della risorsa della mappa, mentre '''devi''' rimuovere gli elementi che vengono creati all'interno della risorsa della gamemode, '''se''' sono specifici della mappa (che sarà probabilmente il caso di quegli oggetti che crei basandoti sulle informazioni lette dai file della risorsa del .map).&lt;br /&gt;
&lt;br /&gt;
==Browser degli elementi==&lt;br /&gt;
Puoi avviare la risorsa ''elementbrowser'' per avere una vista dal vivo dell'albero degli elementi sul tuo server. Avvia la risorsa e sfoglia nelle pagine web del tuo server e scegli l'opzione '''Element Browser'' nella sidebar.&lt;br /&gt;
&lt;br /&gt;
[[IT/Category:Concetti di scripting]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26600</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26600"/>
		<updated>2011-08-05T08:53:27Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Category:25%]]&lt;br /&gt;
MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlato al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client|client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;. Map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Elemento&amp;diff=26588</id>
		<title>IT/Elemento</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Elemento&amp;diff=26588"/>
		<updated>2011-08-03T20:23:42Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: /* Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Category:100%]]&lt;br /&gt;
[[Category:IT/Concetti di scripting]]&lt;br /&gt;
Un '''elemento''' è una classe generica che può rappresentare quasi tutte le [[IT/Entità|entità]] in gioco. Questi sono gli elementi incorporati:&lt;br /&gt;
&lt;br /&gt;
{{IT/Elements}}&lt;br /&gt;
&lt;br /&gt;
Qualsiasi altro tipo di elemento può essere creato come astratto, senza riferirsi ad alcuna entità. Ad esempio gli elementi '''resource''' e '''map''' vengono creati quando risorse o mappe vengono caricate in entità di gruppo che hanno creato come loro ''figlie''.&lt;br /&gt;
&lt;br /&gt;
Gli elementi hanno funzioni in comune come quelle per ottenerne il tipo, per distruggere l'elemento e l'entità ad esso collegato (a parte alcuni elementi che non possono essere distrutti, come gli elementi client), per immagazzinare/leggere dei [[IT/Dati elemento|dati nell'elemento]], e molte altre operazioni.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi sono contenuti in una [[IT/Albero degli elementi|struttura ad albero]], ed ognuno ha quindi degli elementi ''genitori'', fatta eccezione per l'elemento '''root''', che può essere una ''risorsa'', una ''mappa'', l'elemento ''root'' o qualsiasi altro elemento.&lt;br /&gt;
&lt;br /&gt;
==Funzioni relative==&lt;br /&gt;
===Client===&lt;br /&gt;
{{IT/Client element functions}}&lt;br /&gt;
===Server===&lt;br /&gt;
{{IT/Element functions}}&lt;br /&gt;
&lt;br /&gt;
[[en:Element]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Elemento&amp;diff=26587</id>
		<title>IT/Elemento</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Elemento&amp;diff=26587"/>
		<updated>2011-08-03T20:23:30Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: /* Funzioni relative */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Category:100%]]&lt;br /&gt;
[[Category:IT/Concetti di scripting]]&lt;br /&gt;
Un '''elemento''' è una classe generica che può rappresentare quasi tutte le [[IT/Entità|entità]] in gioco. Questi sono gli elementi incorporati:&lt;br /&gt;
&lt;br /&gt;
{{IT/Elements}}&lt;br /&gt;
&lt;br /&gt;
Qualsiasi altro tipo di elemento può essere creato come astratto, senza riferirsi ad alcuna entità. Ad esempio gli elementi '''resource''' e '''map''' vengono creati quando risorse o mappe vengono caricate in entità di gruppo che hanno creato come loro ''figlie''.&lt;br /&gt;
&lt;br /&gt;
Gli elementi hanno funzioni in comune come quelle per ottenerne il tipo, per distruggere l'elemento e l'entità ad esso collegato (a parte alcuni elementi che non possono essere distrutti, come gli elementi client), per immagazzinare/leggere dei [[IT/Dati elemento|dati nell'elemento]], e molte altre operazioni.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi sono contenuti in una [[IT/Albero degli elementi|struttura ad albero]], ed ognuno ha quindi degli elementi ''genitori'', fatta eccezione per l'elemento '''root''', che può essere una ''risorsa'', una ''mappa'', l'elemento ''root'' o qualsiasi altro elemento.&lt;br /&gt;
&lt;br /&gt;
==Funzioni relative==&lt;br /&gt;
===Client===&lt;br /&gt;
{{IT/Client element functions}}&lt;br /&gt;
===Server===&lt;br /&gt;
{{IT/Element functions&lt;br /&gt;
&lt;br /&gt;
[[en:Element]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Elements&amp;diff=26586</id>
		<title>Template:IT/Elements</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Elements&amp;diff=26586"/>
		<updated>2011-08-03T20:15:39Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{IT/Entities}}&lt;br /&gt;
* [[IT/Elemento/Collision shape|Collision shape]]&lt;br /&gt;
* [[IT/Elemento/Proiettile|Proiettile]]&lt;br /&gt;
* [[IT/Elemento/Team|Team]]&lt;br /&gt;
* [[IT/Elemento/Console|Console del server]]&lt;br /&gt;
* [[IT/Elemento/Admin|Admin remoto]]&lt;br /&gt;
* [[IT/Elemento/GUI|Elementi della GUI]]&lt;br /&gt;
&amp;lt;ul&amp;gt;{{IT/GUI Elements}}&amp;lt;/ul&amp;gt;&lt;br /&gt;
* [[IT/Elemento/TXD|TXD]]&lt;br /&gt;
* [[IT/Elemento/DFF|DFF]]&lt;br /&gt;
* [[IT/Elemento/COL|COL]]&lt;br /&gt;
* [[IT/Elemento/Sound|Sound]]&lt;br /&gt;
{{New feature|3.0110|1.1|&lt;br /&gt;
* [[IT/Elemento/Material|Material]]&lt;br /&gt;
** [[IT/Elemento/Texture|Texture]]&lt;br /&gt;
** [[IT/Elemento/Shader|Shader]]&lt;br /&gt;
* [[IT/Elemento/DX font|DX font]]&lt;br /&gt;
* [[IT/Elemento/GUI font|GUI font]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Elemento/Console&amp;diff=26585</id>
		<title>IT/Elemento/Console</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Elemento/Console&amp;diff=26585"/>
		<updated>2011-08-03T20:09:46Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: Created page with &amp;quot;{{IT/MainP}} La classe console del server rappresenta la console del server. Il tipo di elemento di questa claasse è &amp;quot;console&amp;quot;.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
La classe console del server rappresenta la console del server.&lt;br /&gt;
Il tipo di elemento di questa claasse è &amp;quot;console&amp;quot;.&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Pagina_principale&amp;diff=26584</id>
		<title>IT/Pagina principale</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Pagina_principale&amp;diff=26584"/>
		<updated>2011-08-03T20:07:06Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:IT/Pagine italiane]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted #5555FF;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;Questa wiki è stata tradotta da(in ordine cronologico): [[User:Shadd|Shadd]], [[User:Atti|Atti]], [[User:Talco|Talco]], [[User:ALexMiller|AlexMiller]] e [[User:KITT1995|KITT1995]].&amp;lt;br /&amp;gt;This wiki has been translated by(in chronological order): [[User:Shadd|Shadd]], [[User:Atti|Atti]], [[User:Talco|Talco]], [[User:ALexMiller|AlexMiller]] and [[User:KITT1995|KITT1995]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float:right;&amp;quot;&amp;gt;[[Image:Scripting.jpg]]&amp;lt;/div&amp;gt;&lt;br /&gt;
Benvenuto nella wiki in italiano di Multi Theft Auto: San Andreas Deathmatch. Qui troverai abbondanti informazioni sullo sviluppo di gamemode e mappe per Multi Theft Auto.&lt;br /&gt;
&lt;br /&gt;
Stiamo rilasciando le ''anteprime per lo sviluppatore'' perchè abbiamo bisogno del tuo aiuto! Ci sono molte [[IT/Come puoi aiutare|cose che puoi fare per aiutarci]] ad ottenere una release completa e raffinata di MTA:SA DM - creare una mappa, una gamemode, aiutare a documentare le funzioni, scrivere del codice di esempio, dei tutorial o semplicemente giocare a MTA e riportare nel forum i bug che trovi.&lt;br /&gt;
&lt;br /&gt;
Questa release è una gran cosa per noi - rilasciamo il prodotto di due anni del nostro lavoro e non possiamo aspettare di vedere cosa ci fate. Ricorda che possono capitare degli inevitabili problemi e che comunque le cose non sono ancora del tutto complete!&lt;br /&gt;
&lt;br /&gt;
Se hai qualche domanda o problema relativo allo scripting, sentiti libero di metterti in contatto con noi (in inglese) attraverso il nostro [[IT/Canale IRC|Canale IRC]].&lt;br /&gt;
&lt;br /&gt;
'''Hai bisogno di possedere un account in mtabeta.com per poter modificare questa wiki.''' Per favore registrati in [http://www.mtabeta.com mtabeta.com] e poi usa gli stessi dati per fare il login qui. Se vandalizzerai questa wiki verrai bannato.&lt;br /&gt;
&lt;br /&gt;
La wiki supporta '''[http://gears.google.com/ Google Gears]''', che ti permetterà di vedere questa wiki anche offline (e velocemente). Installa Google Gears e clicca il link ''Go Offline'' in fondo ad ogni pagina. Aspetta un'ora (!) che venga scaricata, quando avrà finito lo vedrai in basso ad ogni pagina, appena dopo il link ''Go Offline''. Fatto ciò, usa l'opzione ''Lavora scollegato'' del tuo browser (in genere nel menu File), o disconnettiti da internet e naviga nella wiki normalmente.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 2px dotted navy; padding: 4px; margin: 10px&amp;quot;&amp;gt;L'ultima versione disponibile di '''Multi Theft Auto: San Andreas Deathmatch''' è la 1.0.5. Visita la pagina [http://www.mtasa.com/] e scaricala!&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear:both;&amp;quot;&amp;gt;&amp;lt;/div&amp;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;
|-&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 dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
==Per iniziare==&lt;br /&gt;
* [[IT/Manuale del Client|Manuale del Client]] {{IT/100%}}&lt;br /&gt;
* [[IT/Manuale del Server|Manuale del Server]] {{IT/100%}}&lt;br /&gt;
* [[IT/Bugs noti e FAQ|Bugs noti e FAQ]] {{IT/100%}}&lt;br /&gt;
* [[IT/Introduzione allo scripting|Introduzione allo Scripting]] {{IT/100%}}&lt;br /&gt;
* [[IT/Introduzione allo scripting della GUI|Introduzione allo scripting della GUI]] {{IT/100%}}&lt;br /&gt;
* [[IT/Guida al Debug|Guida al Debug]] {{IT/100%}} - Come trovare gli errori dei tuoi scripts&lt;br /&gt;
* [[IT/Classi di MTA|Classi di MTA]] {{IT/100%}}&lt;br /&gt;
** [[IT/Elemento|Elementi di MTA]] / [[IT/Albero degli elementi|Albero degli elementi]] {{IT/25%}}&lt;br /&gt;
* [[IT/Introduzione alle Risorse|Introduzione alle Risorse]] {{IT/100%}}&lt;br /&gt;
** [[IT/Accesso web alle Risorse|Accesso web alle Risorse]] {{IT/00%}}&lt;br /&gt;
** [[:Category:IT/Risorse|Catalogo risorse]]&lt;br /&gt;
** [[IT/Meta.xml|Meta.xml]] {{IT/100%}}&lt;br /&gt;
* [[IT/Scrivere una gamemode|Scrivere una gamemode]] {{IT/100%}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Database==&lt;br /&gt;
Questa sezione delinea tutte le possibilità che MTA o le ''resources'' danno.&lt;br /&gt;
* [[Resource:IT/Map manager|Map Manager]] {{IT/100%}}&lt;br /&gt;
* [[IT/Script client-side|Script client-side]] {{IT/100%}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Guide LUA==&lt;br /&gt;
Pagine create per aiutarti a comprendere il LUA (in inglese). &lt;br /&gt;
*[http://www.lua.org/pil/index.html &amp;quot;Programming in LUA&amp;quot; Manual]&lt;br /&gt;
*[http://lua-users.org/wiki/TutorialDirectory LUA Wiki]&lt;br /&gt;
*[http://nixstaller.berlios.de/manual/0.2/nixstaller_9.html Una guida generica al LUA di Nixstaller]&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 dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px; background:#CCCCFF;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Documentazione==&lt;br /&gt;
* [[IT/Funzioni Client-side|Funzioni Client-side]] {{IT/25%}}&lt;br /&gt;
* [[IT/Eventi Client-side|Eventi Client-side]] {{IT/00%}}&lt;br /&gt;
* [[IT/Funzioni Server-side|Funzioni Server-side]] {{IT/00%}}&lt;br /&gt;
* [[IT/Eventi Server-side|Eventi Server-side]] {{IT/00%}}&lt;br /&gt;
&amp;lt;!-- Incomplete * [[Module functions|Server-side external module scripting functions list]] --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Liste ID==&lt;br /&gt;
* [[IT/Skin Personaggi|Skin Personaggi]] {{IT/100%}} ([[IT/Tutte Le Skin|Tutte Le Skin)]] {{IT/100%}}&lt;br /&gt;
* [[IT/Vestiti di CJ|Vestiti di CJ]] {{IT/100%}}&lt;br /&gt;
* [[Template:IT/Proiettili|Proiettili]] {{IT/100%}}&lt;br /&gt;
* [[Template:IT/Segnalini radar|Segnalini radar]] {{IT/100%}}&lt;br /&gt;
* [[Template:IT/Suoni|Suoni]] {{IT/100%}}&lt;br /&gt;
* [[IT/ID Veicoli|Veicoli]] {{IT/100%}}&lt;br /&gt;
* [[IT/Colori default veicoli|Colori di default dei veicoli]] {{IT/100%}}&lt;br /&gt;
* [[Template:IT/Colori veicoli|Tabella dei colori dei veicoli]] {{IT/100%}}&lt;br /&gt;
* [[IT/Modifiche Veicoli|Modifiche Veicoli]] {{IT/100%}}&lt;br /&gt;
* [[IT/Armi|Armi]] {{IT/100%}}&lt;br /&gt;
* [[IT/Meteo|Meteo]] {{IT/100%}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Avanzamento pagine==&lt;br /&gt;
Categorie di [[:Category:IT/Pagine italiane|tutte le pagine italiane]] divise per l'avanzamento della traduzione.&lt;br /&gt;
* {{IT/100%}} [[:Category:100%|100% Complete]]&lt;br /&gt;
* {{IT/75%}} [[:Category:75%|75% Quasi complete]]&lt;br /&gt;
* {{IT/50%}} [[:Category:50%|50% A metà]]&lt;br /&gt;
* {{IT/25%}} [[:Category:25%|25% Incomplete]]&lt;br /&gt;
* {{IT/00%}} [[:Category:00%|00% Quasi vuote]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[de:Hauptseite]]&lt;br /&gt;
[[en:Main Page]]&lt;br /&gt;
[[es:Pagina Principal]]&lt;br /&gt;
[[nl:Main Page]]&lt;br /&gt;
[[pl:Main Page]]&lt;br /&gt;
[[ru:Main Page]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26583</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26583"/>
		<updated>2011-08-03T20:05:57Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Category:25%]]&lt;br /&gt;
MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlata al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client|client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;. Map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26582</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26582"/>
		<updated>2011-08-03T20:05:42Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Category:25%]]&lt;br /&gt;
MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlata al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;. Map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26581</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26581"/>
		<updated>2011-08-03T20:05:02Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
[[Categoria:25%]]&lt;br /&gt;
MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlata al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;. Map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Client&amp;diff=26580</id>
		<title>IT/Client</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Client&amp;diff=26580"/>
		<updated>2011-08-03T20:04:04Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
La classe client reppresenta qualunque client che si è connesso al server. Questo può essere un [[IT/Elemento/Player|giocatore]] o la [[IT/Elemento/Console|console]].&lt;br /&gt;
&lt;br /&gt;
Tutte le funzioni del client possono di operare su entrambi gli elementi giocatore e console del server.&lt;br /&gt;
&lt;br /&gt;
[[Category:IT/Concetti di scripting]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Client&amp;diff=26579</id>
		<title>IT/Client</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Client&amp;diff=26579"/>
		<updated>2011-08-03T19:57:40Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The client class represents any client that has connected to the server. This can be a [[player]] or the [[console]].&lt;br /&gt;
&lt;br /&gt;
All client functions can operate on both player and server console elements.&lt;br /&gt;
&lt;br /&gt;
[[Category:IT/Concetti di scripting]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Client&amp;diff=26578</id>
		<title>IT/Client</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Client&amp;diff=26578"/>
		<updated>2011-08-03T19:57:19Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: Created page with &amp;quot;{{IT/MainP}} __NOTOC__ The client class represents any client that has connected to the server. This can be a player or the console.  All client functions can operate on ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The client class represents any client that has connected to the server. This can be a [[player]] or the [[console]].&lt;br /&gt;
&lt;br /&gt;
All client functions can operate on both player and server console elements.&lt;br /&gt;
&lt;br /&gt;
[[Category:Concetti di scripting]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Client&amp;diff=26577</id>
		<title>Client</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Client&amp;diff=26577"/>
		<updated>2011-08-03T19:55:44Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: /* Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
The client class represents any client that has connected to the server. This can be a [[player]] or the [[console]].&lt;br /&gt;
&lt;br /&gt;
All client functions can operate on both player and server console elements.&lt;br /&gt;
&lt;br /&gt;
==Related scripting functions==&lt;br /&gt;
===Server===&lt;br /&gt;
{{Client functions}}&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Client&amp;diff=26576</id>
		<title>Client</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Client&amp;diff=26576"/>
		<updated>2011-08-03T19:55:05Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
The client class represents any client that has connected to the server. This can be a [[player]] or the [[console]].&lt;br /&gt;
&lt;br /&gt;
All client functions can operate on both player and server console elements.&lt;br /&gt;
&lt;br /&gt;
==Related scripting functions==&lt;br /&gt;
===Server===&lt;br /&gt;
{{IT/Client functions}}&lt;br /&gt;
[[Category:Concetti di scripting]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Client&amp;diff=26575</id>
		<title>Client</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Client&amp;diff=26575"/>
		<updated>2011-08-03T19:53:45Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The client class represents any client that has connected to the server. This can be a [[player]] or the [[console]].&lt;br /&gt;
&lt;br /&gt;
All client functions can operate on both player and server console elements.&lt;br /&gt;
&lt;br /&gt;
==Related scripting functions==&lt;br /&gt;
===Server===&lt;br /&gt;
{{IT/Client functions}}&lt;br /&gt;
[[Category:Concetti di scripting]]&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26574</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26574"/>
		<updated>2011-08-03T19:52:21Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlata al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;. Map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26573</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26573"/>
		<updated>2011-08-03T19:51:45Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlata al set delle [[IT/Introduzione alle risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;. Map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file della mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26572</id>
		<title>IT/Albero degli elementi</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/Albero_degli_elementi&amp;diff=26572"/>
		<updated>2011-08-03T19:51:14Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: Created page with &amp;quot;MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlata al set delle [[IT/In...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MTA usa un così chiamato ''albero degli elementi'' per memorizzare tutti gli elementi che esistono sul server e sul client. Questo è direttamente correlata al set delle [[IT/Introduzione alle risorse|risorse]] in esecuzione, e ai loro file delle mappe nel formato XML, anche se può essere cambiata a run-time dagli scripts.&lt;br /&gt;
&lt;br /&gt;
Se si ha familiarità con il concetto di ''alberi'' in campo informatico, questo dovrebbe essere facile da capire. Se no, pensa ad esso come un albero genealogico. Ogni [[IT/Elemento|elemento]] ha un ''elemento'' genitore.&lt;br /&gt;
&lt;br /&gt;
Tutti gli elementi che vengono creati all'interno di script o di file .map sono elementi secondari della risorsa a cui appartengono. Così, più elementi (ad eccezione dei [[IT/Client]]) esistono solo nei limiti delle risorse e vengono anche distrutti non appena la loro risorsa viene terminata.&lt;br /&gt;
&lt;br /&gt;
==Elementi dell'albero==&lt;br /&gt;
* '''root''': Questo è proprio alla base dell'albero - tutti gli elementi sono figli (o discendenti) di questo elemento.&lt;br /&gt;
* '''resource''': Questi sono figli diretti dell'elemento root - con uno per ogni risorsa ''in esecuzione''. Questo elemento si chiama ''resource root&amp;quot;. Il suo ID contiene il nome della risorsa.&lt;br /&gt;
* '''map''': Ogni elemento risorsa contiene almeno un elemento mappa, che rappresenta sia un file &amp;quot;. Map&amp;quot; nella risorsa, sia quello contenente gli elementi creati dagli script (questa è chiamato mappa &amp;quot;dynamic&amp;quot;). I loro ID contengono i nomi dei file delle mappe, o ''dynamic'' per la mappa dinamica.&lt;br /&gt;
** I file delle mappa possono contenere una serie di altri [[IT/Elemento|elementi]] ed un numero illimitato di elementi personalizzati.&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/getBlipColor&amp;diff=26571</id>
		<title>IT/getBlipColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/getBlipColor&amp;diff=26571"/>
		<updated>2011-08-03T18:40:46Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{IT/Funzioni server client}}&lt;br /&gt;
Questa funzione vi dirà di che colore è un segnalino. Questo colore è applicabile solo all'icona del segnalino di default. Tutte le altre icone ignoreranno questo.&lt;br /&gt;
&lt;br /&gt;
==Sintassi== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int int int int getBlipColor ( blip theBlip )&amp;lt;/syntaxhighlight&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
===Argomenti richiesti=== &lt;br /&gt;
*'''theBlip:''' Il segnalino del quale vuoi ottenere il colore&lt;br /&gt;
&lt;br /&gt;
===Valori restituiti===&lt;br /&gt;
Restituisce quattro [[IT/Integer|integer]] in formato RGBA, con un valore massimo di 255 ciascuno. I valori sono, in ordine,''rosso'',''verde'',''azzurro'', e''alfa''. Alpha decide la trasparenza dove 255 è opaco e 0 è completamente trasparente. Viene restituito ''false'' se il segnalino non è valido.&lt;br /&gt;
&lt;br /&gt;
==Esempio== &lt;br /&gt;
Questo esempio troverà tutti i segnalini che esistono e li imposterà tutti su bianco se non sono già bianchi.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Recupera una tabella contenente tutti i segnalini che esistono&lt;br /&gt;
blips = getElementsByType ( &amp;quot;blip&amp;quot; )&lt;br /&gt;
-- Scorre l'elenco, e memorizza il segnalino della tabella nella variabile blipValue&lt;br /&gt;
for blipKey, blipValue in blips do&lt;br /&gt;
	-- Recuperare i colori del segnalino nelle variabili rosso, verde, blu e alfa&lt;br /&gt;
	red, green, blue, alpha = getBlipColor ( blipValue )&lt;br /&gt;
	-- Se l'icona del segnalino non è già bianca&lt;br /&gt;
	if ( red ~= 255 or green ~= 255 or blue ~= 255 or alpha ~= 255 ) then&lt;br /&gt;
		-- Imposta il coloro del segnalino su bianco&lt;br /&gt;
		setBlipColor ( blipValue, 255, 255, 255, 255 )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vedere anche==&lt;br /&gt;
{{IT/Blip functions}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/createBlip&amp;diff=26570</id>
		<title>IT/createBlip</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/createBlip&amp;diff=26570"/>
		<updated>2011-08-03T18:40:00Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
{{IT/Funzioni server client}}&lt;br /&gt;
Questa funzione crea un [[IT/Elemento|elemento]] [[IT/Elemento/Blip|segnalino]], che viene mostrato come un icona nel radar del client.&lt;br /&gt;
&lt;br /&gt;
==Sintassi==&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;
blip createBlip ( float x, float y, float z, [int icon=0, int size=2, int r=255, int g=0, int b=0, int a=255, &lt;br /&gt;
int ordering=0 *, float visibleDistance=99999.0, visibleTo = getRootElement()] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Argomenti richiesti=== &lt;br /&gt;
*'''x:''' La posizione x del segnalino, nelle coordinate del mondo.&lt;br /&gt;
*'''y:''' La posizione y del segnalino, nelle coordinate del mondo.&lt;br /&gt;
*'''z:''' La posizione z del segnalino, nelle coordinate del mondo.&lt;br /&gt;
&lt;br /&gt;
===Argomenti opzionali=== &lt;br /&gt;
{{IT/Argomenti opzionali}}&lt;br /&gt;
*'''icon:''' L'icona del segnalino del radar. Valori validi sono:&lt;br /&gt;
{{IT/Segnalini radar}}&lt;br /&gt;
*'''size:''' La grandezza del segnalino del radar. Di default è 2.&lt;br /&gt;
*'''r:''' La quantità di colore rosso nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 255. &lt;br /&gt;
*'''g:''' La quantità di colore verde nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 0.&lt;br /&gt;
*'''b:''' La quantità di colore blu nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 0.&lt;br /&gt;
*'''a:''' L'opacità del segnalino (0 - 255). Di default è 255.&lt;br /&gt;
{{IT/Caratteristiche nuove|3|1.0|&lt;br /&gt;
*'''ordering:''' Questo definisce l'ordinamento del segnalino nello Z-Level (-32768 - 32767). Di default è 0.&lt;br /&gt;
*'''visibleDistance:''' La distanza massima dalla telecamera alla quale il segnalino è ancora visibile&lt;br /&gt;
}}&lt;br /&gt;
*'''visibleTo:''' Quali elementi possono vedere il segnalino. Di default è visibile a tutti. Vedere [[IT/Visibility|Visibilità]].&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;
blip createBlip ( float x, float y, float z, [int icon=0, int size=2, int r=255, int g=0, int b=0, int a=255, &lt;br /&gt;
int ordering=0, float visibleDistance ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Argomenti richiesti=== &lt;br /&gt;
*'''x:''' La posizione x del segnalino, nelle coordinate del mondo.&lt;br /&gt;
*'''y:''' La posizione y del segnalino, nelle coordinate del mondo.&lt;br /&gt;
*'''z:''' La posizione z del segnalino, nelle coordinate del mondo.&lt;br /&gt;
&lt;br /&gt;
===Argomenti opzionali=== &lt;br /&gt;
{{IT/Segnalini radar}}&lt;br /&gt;
*'''size:''' La grandezza del segnalino del radar. Di default è 2.&lt;br /&gt;
*'''r:''' La quantità di colore rosso nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 255. &lt;br /&gt;
*'''g:''' La quantità di colore verde nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 0.&lt;br /&gt;
*'''b:''' La quantità di colore blu nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 0.&lt;br /&gt;
*'''a:''' L'opacità del segnalino (0 - 255). Di default è 255.&lt;br /&gt;
{{IT/Caratteristiche nuove|3|1.0|&lt;br /&gt;
*'''ordering:''' Questo definisce l'ordinamento del segnalino nello Z-Level (-32768 - 32767). Di default è 0.&lt;br /&gt;
*'''visibleDistance:''' La distanza massima dalla telecamera alla quale il segnalino è ancora visibile&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Valori restituiti==&lt;br /&gt;
Restituisce l'[[IT/Elemento|elemento]] [[IT/Elemento/Blip|segnalino]] se è stato creato con successo, altrimenti restituisce ''false''.&lt;br /&gt;
&lt;br /&gt;
==Esempio== &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;
'''Esempio 1:''' Questo esempio crea un segnalino nel radar nella posizione di un giocatore a caso e fa in modo che sia visibile solo a quel giocatore.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Scegli un giocatore casuale&lt;br /&gt;
myPlayer = getRandomPlayer ()&lt;br /&gt;
-- Recupera la posizione del giocatore e conservala nelle variabili x, y e z&lt;br /&gt;
x,y,z = getElementPosition ( myPlayer )&lt;br /&gt;
-- Creare un segnalino nel radar nella posizione del giocatore, con l'icona del 'dollaro' e visibile solo a quel giocatore&lt;br /&gt;
myBlip = createBlip ( x, y, z, 51, 0, 0, 0, 255, myPlayer )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Esempio 2:''' Questo esempio attribuisce un segnalino ad un giocatore. È possibile collegare un segnalino ad un elemento semplicemente impostandolo come genitore di questo elemento.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Scegli un giocatore casuale&lt;br /&gt;
myPlayer = getRandomPlayer ()&lt;br /&gt;
-- Creare un segnalino nel radar in mezzo alla mappa&lt;br /&gt;
myBlip = createBlip ( 0, 0, 0 )&lt;br /&gt;
-- Fai diventare il giocatore il genitore del segnalino, in modo che il segnalino segue il giocatore&lt;br /&gt;
setElementParent ( myBlip, myPlayer )&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vedere anche==&lt;br /&gt;
{{IT/Blip functions}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/createBlipAttachedTo&amp;diff=26569</id>
		<title>IT/createBlipAttachedTo</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/createBlipAttachedTo&amp;diff=26569"/>
		<updated>2011-08-03T18:39:42Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Questa funzione crea un [[IT/Elemento/Blip|segnalino]] che è collegato ad un [[IT/Elemento|elemento]]. Questo segnalino viene visualizzato come un'icona sul radar del client e 'seguirà' l'elemento a cui è collegato.&lt;br /&gt;
&lt;br /&gt;
==Sintassi==&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;
blip createBlipAttachedTo ( element elementToAttachTo, [int icon=0, int size=2, int r=255, int g=0, int b=0, &lt;br /&gt;
int a=255, int ordering=0, float visibleDistance=99999.0, visibleTo = getRootElement()] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Argomenti richiesti=== &lt;br /&gt;
*'''elementToAttachTo:''' L'[[IT/Elemento|elemento]] a cui attaccare il marcatore.&lt;br /&gt;
&lt;br /&gt;
===Argomenti Opzionali=== &lt;br /&gt;
{{IT/Argomenti opzionali}}&lt;br /&gt;
*'''icon:''' L'icona del segnalino del radar. Valori validi sono:&lt;br /&gt;
{{IT/Segnalini radar}}&lt;br /&gt;
*'''size:''' La grandezza del segnalino del radar. Di default è 2.&lt;br /&gt;
*'''r:''' La quantità di colore rosso nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 255. &lt;br /&gt;
*'''g:''' La quantità di colore verde nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 0.&lt;br /&gt;
*'''b:''' La quantità di colore blu nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 0.&lt;br /&gt;
*'''a:''' L'opacità del segnalino (0 - 255). Di default è 255.&lt;br /&gt;
{{IT/Caratteristiche nuove|3|1.0|&lt;br /&gt;
*'''ordering:''' Questo definisce l'ordinamento del segnalino nello Z-Level (-32768 - 32767). Di default è 0.&lt;br /&gt;
*'''visibleDistance:''' La distanza massima dalla telecamera alla quale il segnalino è ancora visibile&lt;br /&gt;
}}&lt;br /&gt;
*'''visibleTo:''' Quali elementi possono vedere il segnalino. Di default è visibile a tutti. Vedere [[IT/Visibility|Visibilità]].&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;false&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
blip createBlipAttachedTo ( element elementToAttachTo, [int icon=0, int size=2, int r=255, int g=0, int b=0, &lt;br /&gt;
int a=255, int ordering=0, float visibleDistance=99999.0] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Argomenti richiesti=== &lt;br /&gt;
*'''elementToAttachTo:''' L'[[IT/Elemento|elemento]] a cui attaccarci il marcatore.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{IT/Argomenti opzionali}}&lt;br /&gt;
*'''icon:''' L'icona del segnalino del radar. Valori validi sono:&lt;br /&gt;
{{IT/Segnalini radar}}&lt;br /&gt;
*'''size:''' La grandezza del segnalino del radar. Di default è 2.&lt;br /&gt;
*'''r:''' La quantità di colore rosso nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 255. &lt;br /&gt;
*'''g:''' La quantità di colore verde nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 0.&lt;br /&gt;
*'''b:''' La quantità di colore blu nel colore del segnalino (0 - 255). Applicabile solo all'icona ''nessuna''. Di default è 0.&lt;br /&gt;
*'''a:''' L'opacità del segnalino (0 - 255). Di default è 255.&lt;br /&gt;
{{IT/Caratteristiche nuove|3|1.0|&lt;br /&gt;
*'''ordering:''' Questo definisce l'ordinamento del segnalino nello Z-Level (-32768 - 32767). Di default è 0.&lt;br /&gt;
*'''visibleDistance:''' La distanza massima dalla telecamera alla quale il segnalino è ancora visibile.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Valori restituiti===&lt;br /&gt;
Restituisce un [[IT/Elemento/Blip|segnalino]] se il segnalino è stato creato con successo, altrimenti restituisce ''false''.&lt;br /&gt;
&lt;br /&gt;
==Esempio== &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;
Questo esempio crea un segnalino nel radar, visibile a tutti, collegato ad un giocatore casuale. Il segnalino seguirà il giocatore così come si muove. Questo potrebbe essere utilizzato per la caccia all'uomo, per evidenziare un giocatore casuale.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Scegli un giocatore casuale&lt;br /&gt;
function setupRandomRobber ()&lt;br /&gt;
	local myPlayer = getRandomPlayer ()&lt;br /&gt;
	-- Crea un segnalino nel radar nella posizione del giocatore, con l'icona del 'dollaro' visibile a tutti (senza il parametro 'visibleTo')&lt;br /&gt;
	local myBlip = createBlipAttachedTo ( myPlayer, 52 )&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;
==Vedere anche==&lt;br /&gt;
{{IT/Blip functions}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/getBlipIcon&amp;diff=26568</id>
		<title>IT/getBlipIcon</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/getBlipIcon&amp;diff=26568"/>
		<updated>2011-08-03T18:38:52Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
{{IT/Funzioni server client}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Questa funzione restituisce l'icona che un segnalino attualmente ha&lt;br /&gt;
==Sintassi== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getBlipIcon ( blip theBlip )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Argomenti richiesti===&lt;br /&gt;
*'''theBlip''': il segnalino di cui stiamo per ricevere il numero di icona.&lt;br /&gt;
&lt;br /&gt;
===Valori restituiti===&lt;br /&gt;
Restituisce un [[IT/int|int]] indicante quale icona ha il segnalino. Valori validi sono:&lt;br /&gt;
{{IT/Segnalini radar}}&lt;br /&gt;
&lt;br /&gt;
==Esempio== &lt;br /&gt;
Questo esempio trova tutti i segnalini che esistono e li imposta tutti all'icona di default.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Recupera una tabella contenente tutti i segnalini che esistono&lt;br /&gt;
blips = getElementsByType ( &amp;quot;blip&amp;quot; )&lt;br /&gt;
-- Scorre l'elenco, e memorizza i segnalini dalla tabella nella variabile blipValue&lt;br /&gt;
for blipKey, blipValue in ipairs(blips) do&lt;br /&gt;
	-- Recupera l'icona del segnalino nella variabile 'blipIcon'&lt;br /&gt;
	blipIcon = getBlipIcon ( blipValue )&lt;br /&gt;
	-- Se l'icona del segnalino non è già quella di default&lt;br /&gt;
	if ( blipIcon ~= 0 ) then&lt;br /&gt;
		-- Imposta l'icona del segnalino di default&lt;br /&gt;
		setBlipIcon ( blipValue, 0 )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vedere anche==&lt;br /&gt;
{{IT/Blip functions}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/getBlipSize&amp;diff=26567</id>
		<title>IT/getBlipSize</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/getBlipSize&amp;diff=26567"/>
		<updated>2011-08-03T18:38:33Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
{{IT/Funzioni server client}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Questa funzione ottiene la dimensione di un segnalino&lt;br /&gt;
&lt;br /&gt;
==Sintassi== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getBlipSize ( blip theBlip )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Argomenti richiesti=== &lt;br /&gt;
*'''theBlip:''' Il segnalino del quale vuoi ottenere la dimensione.&lt;br /&gt;
&lt;br /&gt;
===Valori restituiti===&lt;br /&gt;
Restituisce un [[IT/int|int]] indicante la dimensione del segnalino. Il valore di default è 2.&lt;br /&gt;
&lt;br /&gt;
==Esempio== &lt;br /&gt;
Questo esempio azzera la dimensione di tutti i segnalini a quella di default.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Recuperare una tabella contenente tutti i segnalini che esistono&lt;br /&gt;
blips = getElementsByType ( &amp;quot;blip&amp;quot; )&lt;br /&gt;
-- Scorre l'elenco, e memorizza i segnalini della tabella nella variabile blipValue &lt;br /&gt;
for blipKey, blipValue in ipairs(blips) do&lt;br /&gt;
	-- Recupera la dimensione dei segnalini nella variable 'blipSize'&lt;br /&gt;
	blipSize = getBlipSize ( blipValue )&lt;br /&gt;
	-- Se la dimensione del segnalino non è già 2 (la dimensione di default)&lt;br /&gt;
	if ( blipSize ~= 2 ) then&lt;br /&gt;
		-- Imposta la dimensione del segnalino a quella di default&lt;br /&gt;
		setBlipSize ( blipValue, 2 )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vedere anche==&lt;br /&gt;
{{IT/Blip functions}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/setBlipColor&amp;diff=26566</id>
		<title>IT/setBlipColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/setBlipColor&amp;diff=26566"/>
		<updated>2011-08-03T18:38:17Z</updated>

		<summary type="html">&lt;p&gt;KITT1995: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{IT/Funzioni server client}}&lt;br /&gt;
Questa funzione vi permetterà di cambiare il colore di un segnalino. Questo colore è applicabile solo all'icona di default del segnalino. Tutte le altre icone ignoreranno questo.&lt;br /&gt;
&lt;br /&gt;
==Sintassi== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setBlipColor ( blip theBlip, int red, int green, int blue, int alpha )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Argomenti richiesti=== &lt;br /&gt;
*'''theBlip:''' Il segnalino del quale vuoi impostare il colore.&lt;br /&gt;
*'''red:''' La quantità di colore rosso nel colore del segnalino (0 - 255).&lt;br /&gt;
*'''green:''' La quantità di colore verde nel colore del segnalino (0 - 255).&lt;br /&gt;
*'''blue:''' La quantità di colore blu nel colore del segnalino (0 - 255).&lt;br /&gt;
*'''alpha:''' La quantità di alpha nel colore del segnalino (0 - 255).  L'Alpha decide la trasparenza dove 255 è opaco e 0 è trasparente.&lt;br /&gt;
&lt;br /&gt;
===Valori restituiti===&lt;br /&gt;
Restituisce ''true'' se il colore del segnalino è stato impostato con successo. Restituisce ''false'' se il segnalino passato alla funzione non è valido, o uno qualsiasi dei colori è fuori dall'intervallo valido.&lt;br /&gt;
&lt;br /&gt;
==Esempio== &lt;br /&gt;
Questo esempio trovare tutti i segnalini che esistono e li imposterà tutti su bianco se non sono già bianchi.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Recuperare una tabella contenente tutti i segnalini che esistono&lt;br /&gt;
blips = getElementsByType ( &amp;quot;blip&amp;quot; )&lt;br /&gt;
-- Scorre l'elenco, e memorizza il segnalino della tabella nella variabile blipValue&lt;br /&gt;
for blipKey, blipValue in blips do&lt;br /&gt;
	-- Recuperare i colori del segnalino nelle variabili rosso, verde, blu e alfa&lt;br /&gt;
	red, green, blue, alpha = getBlipColor ( blipValue )&lt;br /&gt;
	-- Se l'icona del segnalino non è già bianca&lt;br /&gt;
	if ( red ~= 255 or green ~= 255 or blue ~= 255 or alpha ~= 255 ) then&lt;br /&gt;
		-- Imposta il coloro del segnalino su bianco&lt;br /&gt;
		setBlipColor ( blipValue, 255, 255, 255, 255 )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vedere anche==&lt;br /&gt;
{{IT/Blip functions}}&lt;/div&gt;</summary>
		<author><name>KITT1995</name></author>
	</entry>
</feed>