<?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=Lucif3r</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=Lucif3r"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Lucif3r"/>
	<updated>2026-04-24T04:12:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13830</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13830"/>
		<updated>2007-12-24T06:24:19Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; *rewriting in prgress*&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13829</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13829"/>
		<updated>2007-12-24T06:23:59Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*rewriting in prgress*&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13468</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13468"/>
		<updated>2007-12-04T23:24:12Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: Replacing page with 'Fuck it.'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Fuck it.&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateColCircle&amp;diff=13464</id>
		<title>CreateColCircle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateColCircle&amp;diff=13464"/>
		<updated>2007-12-04T18:53:09Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: /* Required Arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function creates a collision circle. This is a shape that has a position and a radius and infinite height that you can use to detect a player's presence. Events will be triggered when a player enters or leaves it.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
colshape createColCircle ( float fX, float fY, float radius )             &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''fX:''' The collision circle's center point's X axis position&lt;br /&gt;
*'''fY:''' The collision circle's center point's Y axis position&lt;br /&gt;
*'''radius''' The radius of the collision circle&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[colshape]] element if successful, ''false'' if invalid arguments were passed to the function.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example displays a chat message when a player enters the colshape and allows the colshape to be created using a console function ''set_zone''.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
theZone = false&lt;br /&gt;
&lt;br /&gt;
function shapeHit ( thePlayer ) &lt;br /&gt;
    outputChatBox ( getClientName ( thePlayer ) .. &amp;quot; is in the zone!&amp;quot; ) -- display a message in everyone's chat box&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function setZone ( playerSource, commandName, fX, fY, fZ )&lt;br /&gt;
    if ( fZ and fY and fX ) then -- check we've got all 3 args we need&lt;br /&gt;
        local tempCol = createColCircle ( fX, fY, fZ, 10.0 ) -- create a col&lt;br /&gt;
        if ( tempCol == false ) then -- did the col get created successfully?&lt;br /&gt;
            outputConsole ( &amp;quot;Syntax is: set_zone &amp;lt;X&amp;gt; &amp;lt;Y&amp;gt; &amp;lt;Z&amp;gt;&amp;quot; ) -- inform the user what the valid syntax is&lt;br /&gt;
        else&lt;br /&gt;
            if ( theZone ~= false ) then -- did we already have a zone?&lt;br /&gt;
                destroyElement ( theZone ) -- if so, destroy it&lt;br /&gt;
            else&lt;br /&gt;
                   addEventHandler ( &amp;quot;onColShapeHit&amp;quot;, theZone, shapeHit ) -- add a handler for the onColShapeHit event&lt;br /&gt;
            end&lt;br /&gt;
            theZone = tempCol -- and store the new zone we've made&lt;br /&gt;
            outputChatBox ( &amp;quot;Zone has moved!&amp;quot; ) -- and tell everyone&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;set_zone&amp;quot;, setZone ) -- add a console function called set_zone that will trigger the function setZone&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Collision shape functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Interstate69&amp;diff=13384</id>
		<title>Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Interstate69&amp;diff=13384"/>
		<updated>2007-11-28T07:24:50Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You should use the settings or info system for storing the settings. Don't use the map format :) [[User:EAi|eAi]] 20:14, 5 November 2007 (CST)&lt;br /&gt;
Why is it called '''thearea''' rather than '''gamearea''' ? [[User:EAi|eAi]] 20:15, 5 November 2007 (CST)&lt;br /&gt;
--------------------------------------&lt;br /&gt;
Im still waiting for proper documentation before i even try to convert it to the settings system.&lt;br /&gt;
thearea is changed to gamearea now :) [[User:Lucif3r|Lucif3r]] 03:31, 6 November 2006 (GMT+1)&lt;br /&gt;
&lt;br /&gt;
What documentation are you missing? [[User:EAi|eAi]] 07:33, 6 November 2007 (CST)&lt;br /&gt;
* The meta.xml side of the settings system remains completely undocumented [[User:Talidan2|Talidan2]] 09:12, 6 November 2007 (CST)&lt;br /&gt;
&lt;br /&gt;
Is there any way you can use the standard 'vehicle' tag rather than tehVehicle? Would look better :) [[User:EAi|eAi]] 06:16, 15 November 2007 (CST)&lt;br /&gt;
----&lt;br /&gt;
Not as long as &amp;lt;vehicle /&amp;gt; tags autocreates when the map starts. I think its fine as it is atm tbh, but I might change it in the future tho.  --[[User:Lucif3r|Lucif3r]] 01:24, 28 November 2007 (CST)&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13090</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13090"/>
		<updated>2007-11-15T11:40:46Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interstate69 is based on the Interstate series for PC. Its basicly a car game, with weapons mounted on the cars.&lt;br /&gt;
&lt;br /&gt;
Creating a map for Interstate is rather simple. But Interstate also supports your own script, and can fairly easy be remade to basicly anything.&lt;br /&gt;
&lt;br /&gt;
=So... What do I do?=&lt;br /&gt;
* Once you join you will be presented with a GUI where you can choose your vehicle and weapons.&lt;br /&gt;
** If you join in the middle of a game, you have to wait for the next round before you can spawn.&lt;br /&gt;
* Spawnpoints are choosen randomly out of the ones provided in the .map file.&lt;br /&gt;
* Once you spawn, destroy your opponents at all costs!&lt;br /&gt;
** Be sure not to die yourself.&lt;br /&gt;
* Once every opponent has been eliminated, you will gain a &amp;quot;win&amp;quot; point, and the game will restart.&lt;br /&gt;
&lt;br /&gt;
===Playing and weapons===&lt;br /&gt;
* Use mouse1 and mouse2 to fire your primary and secondary weapon.&lt;br /&gt;
* The stinger is placed with R.&lt;br /&gt;
&lt;br /&gt;
=Creating an Interstate69 map=&lt;br /&gt;
Interstate69 is fairly easy to map. You have a few options to choose from.&lt;br /&gt;
&lt;br /&gt;
* create a map with the default settings.&lt;br /&gt;
* create a map with your own setting&lt;br /&gt;
** requiers a script alongside your map file.&lt;br /&gt;
&lt;br /&gt;
=Map Syntaxes=&lt;br /&gt;
To create an Interstate69 map, all of these syntaxes have to exsist. ''Note that these elements may change before release.''&lt;br /&gt;
&lt;br /&gt;
==Interstate69 Settings Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;settings respawntime=&amp;quot;3000&amp;quot; maxdeath=&amp;quot;5&amp;quot; elimination=&amp;quot;1&amp;quot; spawnprotection=&amp;quot;5000&amp;quot; allowedspawntime=&amp;quot;300&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Settings - description====&lt;br /&gt;
* '''respawntime:''' How long you have to wait before you respawn after being killed. Time is in milliseconds.&lt;br /&gt;
* '''maxdeath:''' For elimination - how many times you can die before getting eliminated.&lt;br /&gt;
* '''elimination:''' This small setting is one of the most important ones. Change this to &amp;quot;0&amp;quot; to use your own script.&lt;br /&gt;
** This setting will disable almost everything in Interstate, such as spawning, scoring, spectating etc etc.&lt;br /&gt;
* '''spawnprotection:''' How long time after spawn should you be protected&lt;br /&gt;
* '''allowedspawntime:''' Defines how long '''new''' people should be able to spawn after a round has begun. Time is in Minutes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Camera Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;camera posX=&amp;quot;306.56988525391&amp;quot; posY=&amp;quot;1412.0191650391&amp;quot; posZ=&amp;quot;88.63539123535&amp;quot; targetX=&amp;quot;579.46563720703&amp;quot; targetY=&amp;quot;1344.4914550781&amp;quot; targetZ=&amp;quot;10.268367767334&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A camera view you will see when choosing a vehicle etc.&lt;br /&gt;
&lt;br /&gt;
====Camera - description====&lt;br /&gt;
* '''posX, posY, posZ:''' Position of the camera&lt;br /&gt;
* '''targetX, targetY, targetZ:''' The position the camera will look at.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Gamearea Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;gamearea posX=&amp;quot;505.837&amp;quot; posY=&amp;quot;1443.684&amp;quot; posZ=&amp;quot;4.6&amp;quot; size=&amp;quot;380&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A gamearea is a very good idea to have on maps without fysical walls.&lt;br /&gt;
This prevents people from driving away and hide, instead of fight like a man!&lt;br /&gt;
&lt;br /&gt;
====Gamearea - description====&lt;br /&gt;
* '''posX, posY, posZ:''' The position of the area, should be in the center of the map/gamearea&lt;br /&gt;
* '''size:''' the size of the allowed area, in radius.&lt;br /&gt;
&lt;br /&gt;
==Spawnpoints==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;spawnpoint posX=&amp;quot;526.4742&amp;quot; posY=&amp;quot;1561.264&amp;quot; posZ=&amp;quot;1.4321&amp;quot; rot=&amp;quot;100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spawnpoints defines where to spawn. You can have as many spawnpoints as you want.&lt;br /&gt;
&lt;br /&gt;
====Required Attributes====&lt;br /&gt;
* '''posX, posY, posZ:''' The position to spawn. Interstate uses an internal randInt of 10, to prevent people to spawn ontop of eachother.&lt;br /&gt;
* '''rot:''' the rotation you will spawn with.&lt;br /&gt;
** this does not currently affect the rotation of the vehicles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vehicles: How-to add==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Elegy&amp;quot; model=&amp;quot;562&amp;quot; image=&amp;quot;elegy.png&amp;quot; resource=&amp;quot;Interstate69&amp;quot;&amp;gt; &lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Minigun&amp;quot; id=&amp;quot;Minigun&amp;quot; type=&amp;quot;minigun&amp;quot; model=&amp;quot;2985&amp;quot; image=&amp;quot;elegy_minigun.png&amp;quot; posX=&amp;quot;0.5&amp;quot; posY=&amp;quot;1.3&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;1.5&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Small Missile&amp;quot; id=&amp;quot;Small Missile&amp;quot; type=&amp;quot;explosion&amp;quot; model=&amp;quot;3790&amp;quot; image=&amp;quot;elegy_missile.png&amp;quot; posX=&amp;quot;0.7&amp;quot; posY=&amp;quot;1.4&amp;quot; posZ=&amp;quot;-0.2&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;-1.5&amp;quot; posX1=&amp;quot;-0.7&amp;quot; posY1=&amp;quot;1.4&amp;quot; posZ1=&amp;quot;-0.2&amp;quot; rotX1=&amp;quot;0&amp;quot; rotY1=&amp;quot;0&amp;quot; rotZ1=&amp;quot;-1.6&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;SAM x4&amp;quot; id=&amp;quot;SAM x4&amp;quot; type=&amp;quot;sam4&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;Molotov&amp;quot; id=&amp;quot;Molotov&amp;quot; type=&amp;quot;molotov&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Armor&amp;quot; id=&amp;quot;Armor&amp;quot; type=&amp;quot;armor&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Stinger&amp;quot; id=&amp;quot;Stinger&amp;quot; type=&amp;quot;stinger&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/tehVehicle&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vehicles is the most important thing in Interstate.&lt;br /&gt;
Wouldnt be much fun without them, right? Ok, lets go through all the syntaxes step by step.&lt;br /&gt;
&lt;br /&gt;
====The actual vehicle====&lt;br /&gt;
* '''tehVehicle:''' This is the elementname I use for detecting vehicles.&lt;br /&gt;
* '''id:''' the ID. This should be the name of the vehicle.&lt;br /&gt;
* '''model:''' the modelnumber, found in vehicles.ide in your gta san andreas/data folder.&lt;br /&gt;
* '''image:''' This defines what image should be shown on the GUI.&lt;br /&gt;
* '''resource:''' This tells the gamemode where to look for the images for the vehicle.&lt;br /&gt;
&lt;br /&gt;
====Primary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
** NOTE: The name MUST be the same as the ID! Otherwise the images WILL screw up!&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is. &lt;br /&gt;
** Currently only minigun and explosion are reconized.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 4 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Secondary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
** NOTE: The name MUST be the same as the ID! Otherwise the images WILL screw up!&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** sam, sam4, sam8, molotov and mine is supported atm.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 3 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Accessories====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: the ID does NOT have to be unique for the accessories.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** Only armor and stinger is supported.&lt;br /&gt;
&lt;br /&gt;
==Images: How-to add==&lt;br /&gt;
Adding your own images for vehicles and weapons in interstate is easy. Just follow theese guidelines and you should be fine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sizing===&lt;br /&gt;
Images should be in '''200x296px''' .PNG format.&lt;br /&gt;
Weapons should be the same size as the vehicle image, but with transparent background.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Including Images with your map===&lt;br /&gt;
&lt;br /&gt;
open up your '''meta.xml'''.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;meta&amp;gt;&lt;br /&gt;
    &amp;lt;info author=&amp;quot;Lucif3r&amp;quot; description=&amp;quot;Interstate&amp;quot; version=&amp;quot;1&amp;quot; type=&amp;quot;map&amp;quot; gamemodes=&amp;quot;Interstate69&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;map src=&amp;quot;interstate.map&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;file src=&amp;quot;elegy.png&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;file src=&amp;quot;elegy_minigun.png&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;file src=&amp;quot;elegy_missile.png&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;file src=&amp;quot;elegy_sam.png&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/meta&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''file:''' This is where you include your images.&lt;br /&gt;
** NOTE: You can include as many images as you want. but try to keep the size down.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Adding the image to the menu===&lt;br /&gt;
Adding images is a breeze.&lt;br /&gt;
&lt;br /&gt;
Open up your .map-file, and read on.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Elegy&amp;quot; model=&amp;quot;562&amp;quot; image=&amp;quot;elegy.png&amp;quot; resource=&amp;quot;Interstate69&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''image and resource:''' This is all you need to change to get your images ingame. Image should be the '''filename''' of your image, while resource should be the name of your map'''resource'''&lt;br /&gt;
** NOTE: You only have to define resource for the '''vehicle''', not the weapons. Weapons automaticly reads from the same resource as the vehicle.&lt;br /&gt;
** NOTE: You can define different resources for different vehicles.&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Elegy&amp;quot; model=&amp;quot;562&amp;quot; image=&amp;quot;elegy.png&amp;quot; resource=&amp;quot;Interstate69&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Bandito&amp;quot; model=&amp;quot;568&amp;quot; image=&amp;quot;bandito.png&amp;quot; resource=&amp;quot;Interstate_de&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This tells the gamemode to read all images for '''Elegy''' from the gamemode itself, Interstate69, and read all images for '''Bandito''' from the map resource, Interstate_de.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardcoded vehicleimages===&lt;br /&gt;
&lt;br /&gt;
Interstate69 has a few &amp;quot;hardcoded&amp;quot; vehicleimages.&lt;br /&gt;
Those are:&lt;br /&gt;
* '''Elegy'''&lt;br /&gt;
* '''Bandito'''&lt;br /&gt;
* '''BF Injection'''&lt;br /&gt;
* '''Sabre'''&lt;br /&gt;
* '''Bus'''&lt;br /&gt;
** NOTE: All thats &amp;quot;hardcoded&amp;quot; is the images. They can still be changed by changing the resource argument in the mapfiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example map==&lt;br /&gt;
Look at Interstate_de on tweaks FTP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=OMFG OMFG! I FOUND A BUG!!!=&lt;br /&gt;
&lt;br /&gt;
Im sure you did, but before you come whining to me, please read this list of known bugs and flaws.&lt;br /&gt;
&lt;br /&gt;
* GUI is not always appearing&lt;br /&gt;
* Textitems overlap eachother&lt;br /&gt;
* Weapons are not being set properly (making you unable to shoot)&lt;br /&gt;
* Sometimes you may spawn at the same location as someone else, causing you to get stuck.&lt;br /&gt;
* Camera position is not being set.&lt;br /&gt;
* The GUI wont disapear.&lt;br /&gt;
* The aim for the secondary weapon is abit off.&lt;br /&gt;
* The primary aim sometimes disapear.&lt;br /&gt;
* Minigun sometimes aint making any damage.&lt;br /&gt;
* &amp;lt;del&amp;gt;Images only work from the gamemode's root folder.&amp;lt;/del&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you find something not listed here, that you think needs fixing, give me a shout on IRC.&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13012</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13012"/>
		<updated>2007-11-07T23:26:59Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: /* OMFG OMFG! I FOUND A BUG!!! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interstate69 is based on the Interstate series for PC. Its basicly a car game, with weapons mounted on the cars.&lt;br /&gt;
&lt;br /&gt;
Creating a map for Interstate is rather simple. But Interstate also supports your own script, and can fairly easy be remade to basicly anything.&lt;br /&gt;
&lt;br /&gt;
=So... What do I do?=&lt;br /&gt;
* Once you join you will be presented with a GUI where you can choose your vehicle and weapons.&lt;br /&gt;
** If you join in the middle of a game, you have to wait for the next round before you can spawn.&lt;br /&gt;
* Spawnpoints are choosen randomly out of the ones provided in the .map file.&lt;br /&gt;
* Once you spawn, destroy your opponents at all costs!&lt;br /&gt;
** Be sure not to die yourself.&lt;br /&gt;
* Once every opponent has been eliminated, you will gain a &amp;quot;win&amp;quot; point, and the game will restart.&lt;br /&gt;
&lt;br /&gt;
===Playing and weapons===&lt;br /&gt;
* Use mouse1 and mouse2 to fire your primary and secondary weapon.&lt;br /&gt;
* The stinger is placed with R.&lt;br /&gt;
&lt;br /&gt;
=Creating an Interstate69 map=&lt;br /&gt;
Interstate69 is fairly easy to map. You have a few options to choose from.&lt;br /&gt;
&lt;br /&gt;
* create a map with the default settings.&lt;br /&gt;
* create a map with your own setting&lt;br /&gt;
** requiers a script alongside your map file.&lt;br /&gt;
&lt;br /&gt;
=Map Syntaxes=&lt;br /&gt;
To create an Interstate69 map, all of these syntaxes have to exsist. ''Note that these elements may change before release.''&lt;br /&gt;
&lt;br /&gt;
==Interstate69 Settings Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;settings respawntime=&amp;quot;3000&amp;quot; maxdeath=&amp;quot;5&amp;quot; elimination=&amp;quot;1&amp;quot; spawnprotection=&amp;quot;5000&amp;quot; allowedspawntime=&amp;quot;300&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Settings - description====&lt;br /&gt;
* '''respawntime:''' How long you have to wait before you respawn after being killed. Time is in milliseconds.&lt;br /&gt;
* '''maxdeath:''' For elimination - how many times you can die before getting eliminated.&lt;br /&gt;
* '''elimination:''' This small setting is one of the most important ones. Change this to &amp;quot;0&amp;quot; to use your own script.&lt;br /&gt;
** This setting will disable almost everything in Interstate, such as spawning, scoring, spectating etc etc.&lt;br /&gt;
* '''spawnprotection:''' How long time after spawn should you be protected&lt;br /&gt;
* '''allowedspawntime:''' Defines how long '''new''' people should be able to spawn after a round has begun. Time is in Minutes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Camera Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;camera posX=&amp;quot;306.56988525391&amp;quot; posY=&amp;quot;1412.0191650391&amp;quot; posZ=&amp;quot;88.63539123535&amp;quot; targetX=&amp;quot;579.46563720703&amp;quot; targetY=&amp;quot;1344.4914550781&amp;quot; targetZ=&amp;quot;10.268367767334&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A camera view you will see when choosing a vehicle etc.&lt;br /&gt;
&lt;br /&gt;
====Camera - description====&lt;br /&gt;
* '''posX, posY, posZ:''' Position of the camera&lt;br /&gt;
* '''targetX, targetY, targetZ:''' The position the camera will look at.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Gamearea Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;gamearea posX=&amp;quot;505.837&amp;quot; posY=&amp;quot;1443.684&amp;quot; posZ=&amp;quot;4.6&amp;quot; size=&amp;quot;380&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A gamearea is a very good idea to have on maps without fysical walls.&lt;br /&gt;
This prevents people from driving away and hide, instead of fight like a man!&lt;br /&gt;
&lt;br /&gt;
====Gamearea - description====&lt;br /&gt;
* '''posX, posY, posZ:''' The position of the area, should be in the center of the map/gamearea&lt;br /&gt;
* '''size:''' the size of the allowed area, in radius.&lt;br /&gt;
&lt;br /&gt;
==Spawnpoints==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;spawnpoint posX=&amp;quot;526.4742&amp;quot; posY=&amp;quot;1561.264&amp;quot; posZ=&amp;quot;1.4321&amp;quot; rot=&amp;quot;100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spawnpoints defines where to spawn. You can have as many spawnpoints as you want.&lt;br /&gt;
&lt;br /&gt;
====Required Attributes====&lt;br /&gt;
* '''posX, posY, posZ:''' The position to spawn. Interstate uses an internal randInt of 10, to prevent people to spawn ontop of eachother.&lt;br /&gt;
* '''rot:''' the rotation you will spawn with.&lt;br /&gt;
** this does not currently affect the rotation of the vehicles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vehicles: How-to add==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Elegy&amp;quot; model=&amp;quot;562&amp;quot; image=&amp;quot;elegy.png&amp;quot;&amp;gt; &lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Minigun&amp;quot; id=&amp;quot;Minigun&amp;quot; type=&amp;quot;minigun&amp;quot; model=&amp;quot;2985&amp;quot; image=&amp;quot;elegy_minigun.png&amp;quot; posX=&amp;quot;0.5&amp;quot; posY=&amp;quot;1.3&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;1.5&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Small Missile&amp;quot; id=&amp;quot;Small Missile&amp;quot; type=&amp;quot;explosion&amp;quot; model=&amp;quot;3790&amp;quot; image=&amp;quot;elegy_missile.png&amp;quot; posX=&amp;quot;0.7&amp;quot; posY=&amp;quot;1.4&amp;quot; posZ=&amp;quot;-0.2&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;-1.5&amp;quot; posX1=&amp;quot;-0.7&amp;quot; posY1=&amp;quot;1.4&amp;quot; posZ1=&amp;quot;-0.2&amp;quot; rotX1=&amp;quot;0&amp;quot; rotY1=&amp;quot;0&amp;quot; rotZ1=&amp;quot;-1.6&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;SAM x4&amp;quot; id=&amp;quot;SAM x4&amp;quot; type=&amp;quot;sam4&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;Molotov&amp;quot; id=&amp;quot;Molotov&amp;quot; type=&amp;quot;molotov&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Armor&amp;quot; id=&amp;quot;Armor&amp;quot; type=&amp;quot;armor&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Stinger&amp;quot; id=&amp;quot;Stinger&amp;quot; type=&amp;quot;stinger&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/tehVehicle&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vehicles is the most important thing in Interstate.&lt;br /&gt;
Wouldnt be much fun without them, right? Ok, lets go through all the syntaxes step by step.&lt;br /&gt;
&lt;br /&gt;
====The actual vehicle====&lt;br /&gt;
* '''tehVehicle:''' This is the elementname I use for detecting vehicles.&lt;br /&gt;
* '''id:''' the ID. This should be the name of the vehicle.&lt;br /&gt;
* '''model:''' the modelnumber, found in vehicles.ide in your gta san andreas/data folder.&lt;br /&gt;
* '''image:''' This defines what image should be shown on the GUI.&lt;br /&gt;
&lt;br /&gt;
====Primary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
** NOTE: The name MUST be the same as the ID! Otherwise the images WILL screw up!&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is. &lt;br /&gt;
** Currently only minigun and explosion are reconized.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 4 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Secondary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
** NOTE: The name MUST be the same as the ID! Otherwise the images WILL screw up!&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** sam, sam4, sam8, molotov and mine is supported atm.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 3 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Accessories====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: the ID does NOT have to be unique for the accessories.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** Only armor and stinger is supported.&lt;br /&gt;
&lt;br /&gt;
==Example map==&lt;br /&gt;
Look at Interstate_de on tweaks FTP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=OMFG OMFG! I FOUND A BUG!!!=&lt;br /&gt;
&lt;br /&gt;
Im sure you did, but before you come whining to me, please read this list of known bugs and flaws.&lt;br /&gt;
&lt;br /&gt;
* GUI is not always appearing&lt;br /&gt;
* Textitems overlap eachother&lt;br /&gt;
* Weapons are not being set properly (making you unable to shoot)&lt;br /&gt;
* Sometimes you may spawn at the same location as someone else, causing you to get stuck.&lt;br /&gt;
* Camera position is not being set.&lt;br /&gt;
* The GUI wont disapear.&lt;br /&gt;
* The aim for the secondary weapon is abit off.&lt;br /&gt;
* The primary aim sometimes disapear.&lt;br /&gt;
* Minigun sometimes aint making any damage.&lt;br /&gt;
* Images only work from the gamemode's root folder.&lt;br /&gt;
&lt;br /&gt;
If you find something not listed here, that you think needs fixing, give me a shout on IRC.&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13011</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=13011"/>
		<updated>2007-11-07T23:25:17Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interstate69 is based on the Interstate series for PC. Its basicly a car game, with weapons mounted on the cars.&lt;br /&gt;
&lt;br /&gt;
Creating a map for Interstate is rather simple. But Interstate also supports your own script, and can fairly easy be remade to basicly anything.&lt;br /&gt;
&lt;br /&gt;
=So... What do I do?=&lt;br /&gt;
* Once you join you will be presented with a GUI where you can choose your vehicle and weapons.&lt;br /&gt;
** If you join in the middle of a game, you have to wait for the next round before you can spawn.&lt;br /&gt;
* Spawnpoints are choosen randomly out of the ones provided in the .map file.&lt;br /&gt;
* Once you spawn, destroy your opponents at all costs!&lt;br /&gt;
** Be sure not to die yourself.&lt;br /&gt;
* Once every opponent has been eliminated, you will gain a &amp;quot;win&amp;quot; point, and the game will restart.&lt;br /&gt;
&lt;br /&gt;
===Playing and weapons===&lt;br /&gt;
* Use mouse1 and mouse2 to fire your primary and secondary weapon.&lt;br /&gt;
* The stinger is placed with R.&lt;br /&gt;
&lt;br /&gt;
=Creating an Interstate69 map=&lt;br /&gt;
Interstate69 is fairly easy to map. You have a few options to choose from.&lt;br /&gt;
&lt;br /&gt;
* create a map with the default settings.&lt;br /&gt;
* create a map with your own setting&lt;br /&gt;
** requiers a script alongside your map file.&lt;br /&gt;
&lt;br /&gt;
=Map Syntaxes=&lt;br /&gt;
To create an Interstate69 map, all of these syntaxes have to exsist. ''Note that these elements may change before release.''&lt;br /&gt;
&lt;br /&gt;
==Interstate69 Settings Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;settings respawntime=&amp;quot;3000&amp;quot; maxdeath=&amp;quot;5&amp;quot; elimination=&amp;quot;1&amp;quot; spawnprotection=&amp;quot;5000&amp;quot; allowedspawntime=&amp;quot;300&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Settings - description====&lt;br /&gt;
* '''respawntime:''' How long you have to wait before you respawn after being killed. Time is in milliseconds.&lt;br /&gt;
* '''maxdeath:''' For elimination - how many times you can die before getting eliminated.&lt;br /&gt;
* '''elimination:''' This small setting is one of the most important ones. Change this to &amp;quot;0&amp;quot; to use your own script.&lt;br /&gt;
** This setting will disable almost everything in Interstate, such as spawning, scoring, spectating etc etc.&lt;br /&gt;
* '''spawnprotection:''' How long time after spawn should you be protected&lt;br /&gt;
* '''allowedspawntime:''' Defines how long '''new''' people should be able to spawn after a round has begun. Time is in Minutes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Camera Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;camera posX=&amp;quot;306.56988525391&amp;quot; posY=&amp;quot;1412.0191650391&amp;quot; posZ=&amp;quot;88.63539123535&amp;quot; targetX=&amp;quot;579.46563720703&amp;quot; targetY=&amp;quot;1344.4914550781&amp;quot; targetZ=&amp;quot;10.268367767334&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A camera view you will see when choosing a vehicle etc.&lt;br /&gt;
&lt;br /&gt;
====Camera - description====&lt;br /&gt;
* '''posX, posY, posZ:''' Position of the camera&lt;br /&gt;
* '''targetX, targetY, targetZ:''' The position the camera will look at.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Gamearea Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;gamearea posX=&amp;quot;505.837&amp;quot; posY=&amp;quot;1443.684&amp;quot; posZ=&amp;quot;4.6&amp;quot; size=&amp;quot;380&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A gamearea is a very good idea to have on maps without fysical walls.&lt;br /&gt;
This prevents people from driving away and hide, instead of fight like a man!&lt;br /&gt;
&lt;br /&gt;
====Gamearea - description====&lt;br /&gt;
* '''posX, posY, posZ:''' The position of the area, should be in the center of the map/gamearea&lt;br /&gt;
* '''size:''' the size of the allowed area, in radius.&lt;br /&gt;
&lt;br /&gt;
==Spawnpoints==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;spawnpoint posX=&amp;quot;526.4742&amp;quot; posY=&amp;quot;1561.264&amp;quot; posZ=&amp;quot;1.4321&amp;quot; rot=&amp;quot;100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spawnpoints defines where to spawn. You can have as many spawnpoints as you want.&lt;br /&gt;
&lt;br /&gt;
====Required Attributes====&lt;br /&gt;
* '''posX, posY, posZ:''' The position to spawn. Interstate uses an internal randInt of 10, to prevent people to spawn ontop of eachother.&lt;br /&gt;
* '''rot:''' the rotation you will spawn with.&lt;br /&gt;
** this does not currently affect the rotation of the vehicles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vehicles: How-to add==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Elegy&amp;quot; model=&amp;quot;562&amp;quot; image=&amp;quot;elegy.png&amp;quot;&amp;gt; &lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Minigun&amp;quot; id=&amp;quot;Minigun&amp;quot; type=&amp;quot;minigun&amp;quot; model=&amp;quot;2985&amp;quot; image=&amp;quot;elegy_minigun.png&amp;quot; posX=&amp;quot;0.5&amp;quot; posY=&amp;quot;1.3&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;1.5&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Small Missile&amp;quot; id=&amp;quot;Small Missile&amp;quot; type=&amp;quot;explosion&amp;quot; model=&amp;quot;3790&amp;quot; image=&amp;quot;elegy_missile.png&amp;quot; posX=&amp;quot;0.7&amp;quot; posY=&amp;quot;1.4&amp;quot; posZ=&amp;quot;-0.2&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;-1.5&amp;quot; posX1=&amp;quot;-0.7&amp;quot; posY1=&amp;quot;1.4&amp;quot; posZ1=&amp;quot;-0.2&amp;quot; rotX1=&amp;quot;0&amp;quot; rotY1=&amp;quot;0&amp;quot; rotZ1=&amp;quot;-1.6&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;SAM x4&amp;quot; id=&amp;quot;SAM x4&amp;quot; type=&amp;quot;sam4&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;Molotov&amp;quot; id=&amp;quot;Molotov&amp;quot; type=&amp;quot;molotov&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Armor&amp;quot; id=&amp;quot;Armor&amp;quot; type=&amp;quot;armor&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Stinger&amp;quot; id=&amp;quot;Stinger&amp;quot; type=&amp;quot;stinger&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/tehVehicle&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vehicles is the most important thing in Interstate.&lt;br /&gt;
Wouldnt be much fun without them, right? Ok, lets go through all the syntaxes step by step.&lt;br /&gt;
&lt;br /&gt;
====The actual vehicle====&lt;br /&gt;
* '''tehVehicle:''' This is the elementname I use for detecting vehicles.&lt;br /&gt;
* '''id:''' the ID. This should be the name of the vehicle.&lt;br /&gt;
* '''model:''' the modelnumber, found in vehicles.ide in your gta san andreas/data folder.&lt;br /&gt;
* '''image:''' This defines what image should be shown on the GUI.&lt;br /&gt;
&lt;br /&gt;
====Primary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
** NOTE: The name MUST be the same as the ID! Otherwise the images WILL screw up!&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is. &lt;br /&gt;
** Currently only minigun and explosion are reconized.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 4 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Secondary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
** NOTE: The name MUST be the same as the ID! Otherwise the images WILL screw up!&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** sam, sam4, sam8, molotov and mine is supported atm.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 3 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Accessories====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: the ID does NOT have to be unique for the accessories.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** Only armor and stinger is supported.&lt;br /&gt;
&lt;br /&gt;
==Example map==&lt;br /&gt;
Look at Interstate_de on tweaks FTP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=OMFG OMFG! I FOUND A BUG!!!=&lt;br /&gt;
&lt;br /&gt;
Im sure you did, but before you come whining to me, please read this list of known bugs and flaws.&lt;br /&gt;
&lt;br /&gt;
* GUI is not always appearing&lt;br /&gt;
* Textitems overlap eachother&lt;br /&gt;
* Weapons are not being set properly (making you unable to shoot)&lt;br /&gt;
* Sometimes you may spawn at the same location as someone else, causing you to get stuck.&lt;br /&gt;
* Camera position is not being set.&lt;br /&gt;
* The GUI wont disapear.&lt;br /&gt;
* The aim for the secondary weapon is abit off.&lt;br /&gt;
* The primary aim sometimes disapear.&lt;br /&gt;
* Minigun sometimes aint making any damage.&lt;br /&gt;
&lt;br /&gt;
If you find something not listed here, that you think needs fixing, give me a shout on IRC.&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetObjectScale&amp;diff=12999</id>
		<title>SetObjectScale</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetObjectScale&amp;diff=12999"/>
		<updated>2007-11-06T15:40:57Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: New page: __NOTOC__  {{client function}} This function changes the visible size of an object.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool setObjectScale ( element theElement, float scale ) &amp;lt;/syntaxhighlight&amp;gt;  ===Required A...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{client function}}&lt;br /&gt;
This function changes the visible size of an object.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setObjectScale ( element theElement, float scale )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theElement''': The element you wish to change the size of.&lt;br /&gt;
*'''scale''': a float containing the new scale.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns true if the scale was set properly, false otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates an antenna, and changes the size of it.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- get the position of the player&lt;br /&gt;
local x, y, z = getElementPosition(getLocalPlayer())&lt;br /&gt;
-- create the object&lt;br /&gt;
antenna = createObject (1595, x + 2, y, z )&lt;br /&gt;
if ( antenna ) then -- if it was created&lt;br /&gt;
	-- set the scale&lt;br /&gt;
	setObjectScale ( antenna, 0.5)&lt;br /&gt;
	-- remove the collision&lt;br /&gt;
        setElementCollisionsEnabled (antenna, false)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Object functions}}&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiProgressBarSetProgress&amp;diff=12998</id>
		<title>GuiProgressBarSetProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiProgressBarSetProgress&amp;diff=12998"/>
		<updated>2007-11-06T15:25:26Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: New page: {{client function}} This function is used to set the progress of a progressbar.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool guiProgressBarSetProgress ( progressBar theProgressbar, float progress ) &amp;lt;/co...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
This function is used to set the progress of a progressbar.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool guiProgressBarSetProgress ( progressBar theProgressbar, float progress )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theProgressbar''': The progressbar you want to change the progress of&lt;br /&gt;
*'''progress''': a float ranging from 0 - 100&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns true if the progress was set, false otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example sets the progress of a bar called &amp;quot;somebar&amp;quot; created with [[guiCreateProgressBar]], and outputs it to the chatbox.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- If the progressbar exsist then&lt;br /&gt;
if ( somebar ) then&lt;br /&gt;
	-- set the progress&lt;br /&gt;
        guiProgressBarSetProgress(somebar, 80)&lt;br /&gt;
        -- get the progress&lt;br /&gt;
	progress = guiProgressBarGetProgress(somebar)&lt;br /&gt;
	-- output to the chatbox&lt;br /&gt;
	outputChatBox ( &amp;quot;Current progress:&amp;quot; .. progress .. &amp;quot;%&amp;quot; )&lt;br /&gt;
else --if the progressbar was not found&lt;br /&gt;
       outputChatBox (&amp;quot;progressbar not found!&amp;quot;)&lt;br /&gt;
       -- output a message&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiProgressBarGetProgress&amp;diff=12996</id>
		<title>GuiProgressBarGetProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiProgressBarGetProgress&amp;diff=12996"/>
		<updated>2007-11-06T15:12:35Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
This function returns a float containing the progress of the progressbar&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float guiProgressBarGetProgress ( progressBar theProgressbar )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theProgressbar''': The progressbar you want to check.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[float]] ranging between 0 and 100.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example gets the progress of a bar called &amp;quot;somebar&amp;quot; created with [[guiCreateProgressBar]], and outputs it to the chatbox.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- If the progressbar exsist then&lt;br /&gt;
if ( somebar ) then&lt;br /&gt;
	-- get the progress&lt;br /&gt;
	progress = guiProgressBarGetProgress(somebar)&lt;br /&gt;
	-- output to the chatbox&lt;br /&gt;
	outputChatBox ( &amp;quot;Current progress:&amp;quot; .. progress .. &amp;quot;%&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiProgressBarGetProgress&amp;diff=12994</id>
		<title>GuiProgressBarGetProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiProgressBarGetProgress&amp;diff=12994"/>
		<updated>2007-11-06T15:09:13Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
This function returns a float containing the progress of the progressbar&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float guiProgressBarGetProgress ( progressBar theProgressbar )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theProgressbar''': The progressbar you want to check.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[float]] containing the progress of the progressbar your checking.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example gets the progress of a bar called &amp;quot;somebar&amp;quot; created with [[guiCreateProgressBar]], and outputs it to the chatbox.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- If the progressbar exsist then&lt;br /&gt;
if ( somebar ) then&lt;br /&gt;
	-- get the progress&lt;br /&gt;
	progress = guiProgressBarGetProgress(somebar)&lt;br /&gt;
	-- output to the chatbox&lt;br /&gt;
	outputChatBox ( &amp;quot;Current progress:&amp;quot; .. progress .. &amp;quot;%&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiProgressBarGetProgress&amp;diff=12993</id>
		<title>GuiProgressBarGetProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiProgressBarGetProgress&amp;diff=12993"/>
		<updated>2007-11-06T15:03:27Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: New page: {{client function}} This function returns a float containing the progress of the progressbar  &amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt; &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; float guiProgressBarGetProgre...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
This function returns a float containing the progress of the progressbar&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float guiProgressBarGetProgress ( progressBar theProgressbar )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theProgressbar''': The progressbar you want to check.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[float]] containing the progress of the progressbar your checking.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example gets the progress of a bar called &amp;quot;somebar&amp;quot; created with [[guiCreateProgressBar]], and outputs it to the chatbox.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- If the progressbar exsist then&lt;br /&gt;
if ( somebar ) then&lt;br /&gt;
	-- get the progress&lt;br /&gt;
	progress = guiProgressBarGetProgress(somebar)&lt;br /&gt;
	-- output to the chatbox&lt;br /&gt;
	outputChatBox ( &amp;quot;Current progress:&amp;quot; .. progress .. &amp;quot;%&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Interstate69&amp;diff=12980</id>
		<title>Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Interstate69&amp;diff=12980"/>
		<updated>2007-11-06T02:21:54Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You should use the settings or info system for storing the settings. Don't use the map format :) [[User:EAi|eAi]] 20:14, 5 November 2007 (CST)&lt;br /&gt;
Why is it called '''thearea''' rather than '''gamearea''' ? [[User:EAi|eAi]] 20:15, 5 November 2007 (CST)&lt;br /&gt;
--------------------------------------&lt;br /&gt;
Im still waiting for proper documentation before i even try to convert it to the settings system.&lt;br /&gt;
thearea is changed to gamearea now :) [[User:Lucif3r|Lucif3r]] 03:31, 6 November 2006 (GMT+1)&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Interstate69&amp;diff=12979</id>
		<title>Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Interstate69&amp;diff=12979"/>
		<updated>2007-11-06T02:21:39Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You should use the settings or info system for storing the settings. Don't use the map format :) [[User:EAi|eAi]] 20:14, 5 November 2007 (CST)&lt;br /&gt;
Why is it called '''thearea''' rather than '''gamearea''' ? [[User:EAi|eAi]] 20:15, 5 November 2007 (CST)&lt;br /&gt;
&lt;br /&gt;
Im still waiting for proper documentation before i even try to convert it to the settings system.&lt;br /&gt;
thearea is changed to gamearea now :) [[User:Lucif3r|Lucif3r]] 03:31, 6 November 2006 (GMT+1)&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Interstate69&amp;diff=12978</id>
		<title>Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Interstate69&amp;diff=12978"/>
		<updated>2007-11-06T02:20:12Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You should use the settings or info system for storing the settings. Don't use the map format :) [[User:EAi|eAi]] 20:14, 5 November 2007 (CST)&lt;br /&gt;
Why is it called '''thearea''' rather than '''gamearea''' ? [[User:EAi|eAi]] 20:15, 5 November 2007 (CST)&lt;br /&gt;
&lt;br /&gt;
Im still waiting for proper documentation before i even try to convert it to the settings system.&lt;br /&gt;
thearea is changed to gamearea now :)&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=12977</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=12977"/>
		<updated>2007-11-06T02:18:50Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: /* Gamearea Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interstate69 is based on the Interstate series for PC. Its basicly a car game, with weapons mounted on the cars.&lt;br /&gt;
&lt;br /&gt;
Creating a map for Interstate is rather simple. But Interstate also supports your own script, and can fairly easy be remade to basicly anything.&lt;br /&gt;
&lt;br /&gt;
=So... What do I do?=&lt;br /&gt;
* Once you join you will be presented with a GUI where you can choose your vehicle and weapons.&lt;br /&gt;
** If you join in the middle of a game, you have to wait for the next round before you can spawn.&lt;br /&gt;
* Spawnpoints are choosen randomly out of the ones provided in the .map file.&lt;br /&gt;
* Once you spawn, destroy your opponents at all costs!&lt;br /&gt;
** Be sure not to die yourself.&lt;br /&gt;
* Once every opponent has been eliminated, you will gain a &amp;quot;win&amp;quot; point, and the game will restart.&lt;br /&gt;
&lt;br /&gt;
===Playing and weapons===&lt;br /&gt;
* Use mouse1 and mouse2 to fire your primary and secondary weapon.&lt;br /&gt;
* The stinger is placed with F1.&lt;br /&gt;
&lt;br /&gt;
=Creating an Interstate69 map=&lt;br /&gt;
Interstate69 is fairly easy to map. You have a few options to choose from.&lt;br /&gt;
&lt;br /&gt;
* create a map with the default settings.&lt;br /&gt;
* create a map with your own setting&lt;br /&gt;
** requiers a script alongside your map file.&lt;br /&gt;
&lt;br /&gt;
=Map Syntaxes=&lt;br /&gt;
To create an Interstate69 map, all of these syntaxes have to exsist. ''Note that these elements may change before release.''&lt;br /&gt;
&lt;br /&gt;
==Interstate69 Settings Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;settings respawntime=&amp;quot;3000&amp;quot; maxdeath=&amp;quot;5&amp;quot; elimination=&amp;quot;1&amp;quot; spawnprotection=&amp;quot;5000&amp;quot; allowedspawntime=&amp;quot;300&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Settings - description====&lt;br /&gt;
* '''respawntime:''' How long you have to wait before you respawn after being killed. Time is in milliseconds.&lt;br /&gt;
* '''maxdeath:''' For elimination - how many times you can die before getting eliminated.&lt;br /&gt;
* '''elimination:''' This small setting is one of the most important ones. Change this to &amp;quot;0&amp;quot; to use your own script.&lt;br /&gt;
** This setting will disable almost everything in Interstate, such as spawning, scoring, spectating etc etc.&lt;br /&gt;
* '''spawnprotection:''' How long time after spawn should you be protected&lt;br /&gt;
* '''allowedspawntime:''' Defines how long '''new''' people should be able to spawn after a round has begun. Time is in Minutes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Camera Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;camera posX=&amp;quot;306.56988525391&amp;quot; posY=&amp;quot;1412.0191650391&amp;quot; posZ=&amp;quot;88.63539123535&amp;quot; targetX=&amp;quot;579.46563720703&amp;quot; targetY=&amp;quot;1344.4914550781&amp;quot; targetZ=&amp;quot;10.268367767334&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A camera view you will see when choosing a vehicle etc.&lt;br /&gt;
&lt;br /&gt;
====Camera - description====&lt;br /&gt;
* '''posX, posY, posZ:''' Position of the camera&lt;br /&gt;
* '''targetX, targetY, targetZ:''' The position the camera will look at.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Gamearea Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;gamearea posX=&amp;quot;505.837&amp;quot; posY=&amp;quot;1443.684&amp;quot; posZ=&amp;quot;4.6&amp;quot; size=&amp;quot;380&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A gamearea is a very good idea to have on maps without fysical walls.&lt;br /&gt;
This prevents people from driving away and hide, instead of fight like a man!&lt;br /&gt;
&lt;br /&gt;
====Gamearea - description====&lt;br /&gt;
* '''posX, posY, posZ:''' The position of the area, should be in the center of the map/gamearea&lt;br /&gt;
* '''size:''' the size of the allowed area, in radius.&lt;br /&gt;
&lt;br /&gt;
==Spawnpoints==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;spawnpoint posX=&amp;quot;526.4742&amp;quot; posY=&amp;quot;1561.264&amp;quot; posZ=&amp;quot;1.4321&amp;quot; rot=&amp;quot;100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spawnpoints defines where to spawn. You can have as many spawnpoints as you want.&lt;br /&gt;
&lt;br /&gt;
====Required Attributes====&lt;br /&gt;
* '''posX, posY, posZ:''' The position to spawn. Interstate uses an internal randInt of 10, to prevent people to spawn ontop of eachother.&lt;br /&gt;
* '''rot:''' the rotation you will spawn with.&lt;br /&gt;
** this does not currently affect the rotation of the vehicles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vehicles: How-to add==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Elegy&amp;quot; model=&amp;quot;562&amp;quot; image=&amp;quot;elegy.png&amp;quot;&amp;gt; &lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Minigun&amp;quot; id=&amp;quot;Minigun&amp;quot; type=&amp;quot;minigun&amp;quot; model=&amp;quot;2985&amp;quot; image=&amp;quot;elegy_minigun.png&amp;quot; posX=&amp;quot;0.5&amp;quot; posY=&amp;quot;1.3&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;1.5&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Small Missile&amp;quot; id=&amp;quot;Small Missile&amp;quot; type=&amp;quot;explosion&amp;quot; model=&amp;quot;3790&amp;quot; image=&amp;quot;elegy_missile.png&amp;quot; posX=&amp;quot;0.7&amp;quot; posY=&amp;quot;1.4&amp;quot; posZ=&amp;quot;-0.2&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;-1.5&amp;quot; posX1=&amp;quot;-0.7&amp;quot; posY1=&amp;quot;1.4&amp;quot; posZ1=&amp;quot;-0.2&amp;quot; rotX1=&amp;quot;0&amp;quot; rotY1=&amp;quot;0&amp;quot; rotZ1=&amp;quot;-1.6&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;SAM x4&amp;quot; id=&amp;quot;SAM x4&amp;quot; type=&amp;quot;sam4&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;Molotov&amp;quot; id=&amp;quot;Molotov&amp;quot; type=&amp;quot;molotov&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Armor&amp;quot; id=&amp;quot;Armor&amp;quot; type=&amp;quot;armor&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Stinger&amp;quot; id=&amp;quot;Stinger&amp;quot; type=&amp;quot;stinger&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/tehVehicle&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vehicles is the most important thing in Interstate.&lt;br /&gt;
Wouldnt be much fun without them, right? Ok, lets go through all the syntaxes step by step.&lt;br /&gt;
&lt;br /&gt;
====The actual vehicle====&lt;br /&gt;
* '''tehVehicle:''' This is the elementname I use for detecting vehicles.&lt;br /&gt;
* '''id:''' the ID. This should be the name of the vehicle.&lt;br /&gt;
* '''model:''' the modelnumber, found in vehicles.ide in your gta san andreas/data folder.&lt;br /&gt;
* '''image:''' This defines what image should be shown on the GUI.&lt;br /&gt;
&lt;br /&gt;
====Primary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
** NOTE: The name MUST be the same as the ID! Otherwise the images WILL screw up!&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is. &lt;br /&gt;
** Currently only minigun and explosion are reconized.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 4 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Secondary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
** NOTE: The name MUST be the same as the ID! Otherwise the images WILL screw up!&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** sam, sam4, sam8, molotov and mine is supported atm.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 3 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Accessories====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: the ID does NOT have to be unique for the accessories.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** Only armor and stinger is supported.&lt;br /&gt;
&lt;br /&gt;
==Example map==&lt;br /&gt;
Look at Interstate_de on tweaks FTP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=OMFG OMFG! I FOUND A BUG!!!=&lt;br /&gt;
&lt;br /&gt;
Im sure you did, but before you come whining to me, please read this list of known bugs and flaws.&lt;br /&gt;
&lt;br /&gt;
* GUI is not always appearing&lt;br /&gt;
* Textitems overlap eachother&lt;br /&gt;
* Weapons are not being set properly (making you unable to shoot)&lt;br /&gt;
* Sometimes you may spawn at the same location as someone else, causing you to get stuck.&lt;br /&gt;
* Camera position is not being set.&lt;br /&gt;
* The GUI wont disapear.&lt;br /&gt;
* The aim for the secondary weapon is abit off.&lt;br /&gt;
* The primary aim sometimes disapear.&lt;br /&gt;
* Minigun sometimes aint making any damage.&lt;br /&gt;
&lt;br /&gt;
If you find something not listed here, that you think needs fixing, give me a shout on IRC.&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=12975</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=12975"/>
		<updated>2007-11-06T02:15:19Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interstate69 is based on the Interstate series for PC. Its basicly a car game, with weapons mounted on the cars.&lt;br /&gt;
&lt;br /&gt;
Creating a map for Interstate is rather simple. But Interstate also supports your own script, and can fairly easy be remade to basicly anything.&lt;br /&gt;
&lt;br /&gt;
=So... What do I do?=&lt;br /&gt;
* Once you join you will be presented with a GUI where you can choose your vehicle and weapons.&lt;br /&gt;
** If you join in the middle of a game, you have to wait for the next round before you can spawn.&lt;br /&gt;
* Spawnpoints are choosen randomly out of the ones provided in the .map file.&lt;br /&gt;
* Once you spawn, destroy your opponents at all costs!&lt;br /&gt;
** Be sure not to die yourself.&lt;br /&gt;
* Once every opponent has been eliminated, you will gain a &amp;quot;win&amp;quot; point, and the game will restart.&lt;br /&gt;
&lt;br /&gt;
===Playing and weapons===&lt;br /&gt;
* Use mouse1 and mouse2 to fire your primary and secondary weapon.&lt;br /&gt;
* The stinger is placed with F1.&lt;br /&gt;
&lt;br /&gt;
=Creating an Interstate69 map=&lt;br /&gt;
Interstate69 is fairly easy to map. You have a few options to choose from.&lt;br /&gt;
&lt;br /&gt;
* create a map with the default settings.&lt;br /&gt;
* create a map with your own setting&lt;br /&gt;
** requiers a script alongside your map file.&lt;br /&gt;
&lt;br /&gt;
=Map Syntaxes=&lt;br /&gt;
To create an Interstate69 map, all of these syntaxes have to exsist. ''Note that these elements may change before release.''&lt;br /&gt;
&lt;br /&gt;
==Interstate69 Settings Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;settings respawntime=&amp;quot;3000&amp;quot; maxdeath=&amp;quot;5&amp;quot; elimination=&amp;quot;1&amp;quot; spawnprotection=&amp;quot;5000&amp;quot; allowedspawntime=&amp;quot;300&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Settings - description====&lt;br /&gt;
* '''respawntime:''' How long you have to wait before you respawn after being killed. Time is in milliseconds.&lt;br /&gt;
* '''maxdeath:''' For elimination - how many times you can die before getting eliminated.&lt;br /&gt;
* '''elimination:''' This small setting is one of the most important ones. Change this to &amp;quot;0&amp;quot; to use your own script.&lt;br /&gt;
** This setting will disable almost everything in Interstate, such as spawning, scoring, spectating etc etc.&lt;br /&gt;
* '''spawnprotection:''' How long time after spawn should you be protected&lt;br /&gt;
* '''allowedspawntime:''' Defines how long '''new''' people should be able to spawn after a round has begun. Time is in Minutes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Camera Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;camera posX=&amp;quot;306.56988525391&amp;quot; posY=&amp;quot;1412.0191650391&amp;quot; posZ=&amp;quot;88.63539123535&amp;quot; targetX=&amp;quot;579.46563720703&amp;quot; targetY=&amp;quot;1344.4914550781&amp;quot; targetZ=&amp;quot;10.268367767334&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A camera view you will see when choosing a vehicle etc.&lt;br /&gt;
&lt;br /&gt;
====Camera - description====&lt;br /&gt;
* '''posX, posY, posZ:''' Position of the camera&lt;br /&gt;
* '''targetX, targetY, targetZ:''' The position the camera will look at.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Gamearea Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;thearea posX=&amp;quot;505.837&amp;quot; posY=&amp;quot;1443.684&amp;quot; posZ=&amp;quot;4.6&amp;quot; size=&amp;quot;380&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A gamearea is a very good idea to have on maps without fysical walls.&lt;br /&gt;
This prevents people from driving away and hide, instead of fight like a man!&lt;br /&gt;
&lt;br /&gt;
====Gamearea - description====&lt;br /&gt;
* '''posX, posY, posZ:''' The position of the area, should be in the center of the map/gamearea&lt;br /&gt;
* '''size:''' the size of the allowed area, in radius.&lt;br /&gt;
&lt;br /&gt;
==Spawnpoints==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;spawnpoint posX=&amp;quot;526.4742&amp;quot; posY=&amp;quot;1561.264&amp;quot; posZ=&amp;quot;1.4321&amp;quot; rot=&amp;quot;100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spawnpoints defines where to spawn. You can have as many spawnpoints as you want.&lt;br /&gt;
&lt;br /&gt;
====Required Attributes====&lt;br /&gt;
* '''posX, posY, posZ:''' The position to spawn. Interstate uses an internal randInt of 10, to prevent people to spawn ontop of eachother.&lt;br /&gt;
* '''rot:''' the rotation you will spawn with.&lt;br /&gt;
** this does not currently affect the rotation of the vehicles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vehicles: How-to add==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Elegy&amp;quot; model=&amp;quot;562&amp;quot; image=&amp;quot;elegy.png&amp;quot;&amp;gt; &lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Minigun&amp;quot; id=&amp;quot;Minigun&amp;quot; type=&amp;quot;minigun&amp;quot; model=&amp;quot;2985&amp;quot; image=&amp;quot;elegy_minigun.png&amp;quot; posX=&amp;quot;0.5&amp;quot; posY=&amp;quot;1.3&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;1.5&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Small Missile&amp;quot; id=&amp;quot;Small Missile&amp;quot; type=&amp;quot;explosion&amp;quot; model=&amp;quot;3790&amp;quot; image=&amp;quot;elegy_missile.png&amp;quot; posX=&amp;quot;0.7&amp;quot; posY=&amp;quot;1.4&amp;quot; posZ=&amp;quot;-0.2&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;-1.5&amp;quot; posX1=&amp;quot;-0.7&amp;quot; posY1=&amp;quot;1.4&amp;quot; posZ1=&amp;quot;-0.2&amp;quot; rotX1=&amp;quot;0&amp;quot; rotY1=&amp;quot;0&amp;quot; rotZ1=&amp;quot;-1.6&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;SAM x4&amp;quot; id=&amp;quot;SAM x4&amp;quot; type=&amp;quot;sam4&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;Molotov&amp;quot; id=&amp;quot;Molotov&amp;quot; type=&amp;quot;molotov&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Armor&amp;quot; id=&amp;quot;Armor&amp;quot; type=&amp;quot;armor&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Stinger&amp;quot; id=&amp;quot;Stinger&amp;quot; type=&amp;quot;stinger&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/tehVehicle&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vehicles is the most important thing in Interstate.&lt;br /&gt;
Wouldnt be much fun without them, right? Ok, lets go through all the syntaxes step by step.&lt;br /&gt;
&lt;br /&gt;
====The actual vehicle====&lt;br /&gt;
* '''tehVehicle:''' This is the elementname I use for detecting vehicles.&lt;br /&gt;
* '''id:''' the ID. This should be the name of the vehicle.&lt;br /&gt;
* '''model:''' the modelnumber, found in vehicles.ide in your gta san andreas/data folder.&lt;br /&gt;
* '''image:''' This defines what image should be shown on the GUI.&lt;br /&gt;
&lt;br /&gt;
====Primary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
** NOTE: The name MUST be the same as the ID! Otherwise the images WILL screw up!&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is. &lt;br /&gt;
** Currently only minigun and explosion are reconized.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 4 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Secondary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
** NOTE: The name MUST be the same as the ID! Otherwise the images WILL screw up!&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** sam, sam4, sam8, molotov and mine is supported atm.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 3 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Accessories====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: the ID does NOT have to be unique for the accessories.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** Only armor and stinger is supported.&lt;br /&gt;
&lt;br /&gt;
==Example map==&lt;br /&gt;
Look at Interstate_de on tweaks FTP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=OMFG OMFG! I FOUND A BUG!!!=&lt;br /&gt;
&lt;br /&gt;
Im sure you did, but before you come whining to me, please read this list of known bugs and flaws.&lt;br /&gt;
&lt;br /&gt;
* GUI is not always appearing&lt;br /&gt;
* Textitems overlap eachother&lt;br /&gt;
* Weapons are not being set properly (making you unable to shoot)&lt;br /&gt;
* Sometimes you may spawn at the same location as someone else, causing you to get stuck.&lt;br /&gt;
* Camera position is not being set.&lt;br /&gt;
* The GUI wont disapear.&lt;br /&gt;
* The aim for the secondary weapon is abit off.&lt;br /&gt;
* The primary aim sometimes disapear.&lt;br /&gt;
* Minigun sometimes aint making any damage.&lt;br /&gt;
&lt;br /&gt;
If you find something not listed here, that you think needs fixing, give me a shout on IRC.&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=12973</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=12973"/>
		<updated>2007-11-06T02:11:18Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: /* Secondary Weapons */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interstate69 is based on the Interstate series for PC. Its basicly a car game, with weapons mounted on the cars.&lt;br /&gt;
&lt;br /&gt;
Creating a map for Interstate is rather simple. But Interstate also supports your own script, and can fairly easy be remade to basicly anything.&lt;br /&gt;
&lt;br /&gt;
=So... What do I do?=&lt;br /&gt;
* Once you join you will be presented with a GUI where you can choose your vehicle and weapons.&lt;br /&gt;
** If you join in the middle of a game, you have to wait for the next round before you can spawn.&lt;br /&gt;
* Spawnpoints are choosen randomly out of the ones provided in the .map file.&lt;br /&gt;
* Once you spawn, destroy your opponents at all costs!&lt;br /&gt;
** Be sure not to die yourself.&lt;br /&gt;
* Once every opponent has been eliminated, you will gain a &amp;quot;win&amp;quot; point, and the game will restart.&lt;br /&gt;
&lt;br /&gt;
===Playing and weapons===&lt;br /&gt;
* Use mouse1 and mouse2 to fire your primary and secondary weapon.&lt;br /&gt;
* The stinger is placed with F1.&lt;br /&gt;
&lt;br /&gt;
=Creating an Interstate69 map=&lt;br /&gt;
Interstate69 is fairly easy to map. You have a few options to choose from.&lt;br /&gt;
&lt;br /&gt;
* create a map with the default settings.&lt;br /&gt;
* create a map with your own setting&lt;br /&gt;
** requiers a script alongside your map file.&lt;br /&gt;
&lt;br /&gt;
=Map Syntaxes=&lt;br /&gt;
To create an Interstate69 map, all of these syntaxes have to exsist. ''Note that these elements may change before release.''&lt;br /&gt;
&lt;br /&gt;
==Interstate69 Settings Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;settings respawntime=&amp;quot;3000&amp;quot; maxdeath=&amp;quot;5&amp;quot; elimination=&amp;quot;1&amp;quot; spawnprotection=&amp;quot;5000&amp;quot; allowedspawntime=&amp;quot;300&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Settings - description====&lt;br /&gt;
* '''respawntime:''' How long you have to wait before you respawn after being killed. Time is in milliseconds.&lt;br /&gt;
* '''maxdeath:''' For elimination - how many times you can die before getting eliminated.&lt;br /&gt;
* '''elimination:''' This small setting is one of the most important ones. Change this to &amp;quot;0&amp;quot; to use your own script.&lt;br /&gt;
** This setting will disable almost everything in Interstate, such as spawning, scoring, spectating etc etc.&lt;br /&gt;
* '''spawnprotection:''' How long time after spawn should you be protected&lt;br /&gt;
* '''allowedspawntime:''' Defines how long '''new''' people should be able to spawn after a round has begun. Time is in Minutes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Camera Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;camera posX=&amp;quot;306.56988525391&amp;quot; posY=&amp;quot;1412.0191650391&amp;quot; posZ=&amp;quot;88.63539123535&amp;quot; targetX=&amp;quot;579.46563720703&amp;quot; targetY=&amp;quot;1344.4914550781&amp;quot; targetZ=&amp;quot;10.268367767334&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A camera view you will see when choosing a vehicle etc.&lt;br /&gt;
&lt;br /&gt;
====Camera - description====&lt;br /&gt;
* '''posX, posY, posZ:''' Position of the camera&lt;br /&gt;
* '''targetX, targetY, targetZ:''' The position the camera will look at.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Gamearea Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;thearea posX=&amp;quot;505.837&amp;quot; posY=&amp;quot;1443.684&amp;quot; posZ=&amp;quot;4.6&amp;quot; size=&amp;quot;380&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A gamearea is a very good idea to have on maps without fysical walls.&lt;br /&gt;
This prevents people from driving away and hide, instead of fight like a man!&lt;br /&gt;
&lt;br /&gt;
====Gamearea - description====&lt;br /&gt;
* '''posX, posY, posZ:''' The position of the area, should be in the center of the map/gamearea&lt;br /&gt;
* '''size:''' the size of the allowed area, in radius.&lt;br /&gt;
&lt;br /&gt;
==Spawnpoints==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;spawnpoint posX=&amp;quot;526.4742&amp;quot; posY=&amp;quot;1561.264&amp;quot; posZ=&amp;quot;1.4321&amp;quot; rot=&amp;quot;100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spawnpoints defines where to spawn. You can have as many spawnpoints as you want.&lt;br /&gt;
&lt;br /&gt;
====Required Attributes====&lt;br /&gt;
* '''posX, posY, posZ:''' The position to spawn. Interstate uses an internal randInt of 10, to prevent people to spawn ontop of eachother.&lt;br /&gt;
* '''rot:''' the rotation you will spawn with.&lt;br /&gt;
** this does not currently affect the rotation of the vehicles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vehicles: How-to add==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Elegy&amp;quot; model=&amp;quot;562&amp;quot; image=&amp;quot;elegy.png&amp;quot;&amp;gt; &lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Minigun&amp;quot; id=&amp;quot;Minigun&amp;quot; type=&amp;quot;minigun&amp;quot; model=&amp;quot;2985&amp;quot; image=&amp;quot;elegy_minigun.png&amp;quot; posX=&amp;quot;0.5&amp;quot; posY=&amp;quot;1.3&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;1.5&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Small Missile&amp;quot; id=&amp;quot;Small Missile&amp;quot; type=&amp;quot;explosion&amp;quot; model=&amp;quot;3790&amp;quot; image=&amp;quot;elegy_missile.png&amp;quot; posX=&amp;quot;0.7&amp;quot; posY=&amp;quot;1.4&amp;quot; posZ=&amp;quot;-0.2&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;-1.5&amp;quot; posX1=&amp;quot;-0.7&amp;quot; posY1=&amp;quot;1.4&amp;quot; posZ1=&amp;quot;-0.2&amp;quot; rotX1=&amp;quot;0&amp;quot; rotY1=&amp;quot;0&amp;quot; rotZ1=&amp;quot;-1.6&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;SAM x4&amp;quot; id=&amp;quot;SAM x4&amp;quot; type=&amp;quot;sam4&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;Molotov&amp;quot; id=&amp;quot;Molotov&amp;quot; type=&amp;quot;molotov&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Armor&amp;quot; id=&amp;quot;Armor&amp;quot; type=&amp;quot;armor&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Stinger&amp;quot; id=&amp;quot;Stinger&amp;quot; type=&amp;quot;stinger&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/tehVehicle&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vehicles is the most important thing in Interstate.&lt;br /&gt;
Wouldnt be much fun without them, right? Ok, lets go through all the syntaxes step by step.&lt;br /&gt;
&lt;br /&gt;
====The actual vehicle====&lt;br /&gt;
* '''tehVehicle:''' This is the elementname I use for detecting vehicles.&lt;br /&gt;
* '''id:''' the ID. This should be the name of the vehicle.&lt;br /&gt;
* '''model:''' the modelnumber, found in vehicles.ide in your gta san andreas/data folder.&lt;br /&gt;
* '''image:''' This defines what image should be shown on the GUI.&lt;br /&gt;
&lt;br /&gt;
====Primary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is. &lt;br /&gt;
** Currently only minigun and explosion are reconized.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 4 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Secondary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** sam, sam4, sam8, molotov and mine is supported atm.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 3 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Accessories====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: the ID does NOT have to be unique for the accessories.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** Only armor and stinger is supported.&lt;br /&gt;
&lt;br /&gt;
==Example map==&lt;br /&gt;
Look at Interstate_de on tweaks FTP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=OMFG OMFG! I FOUND A BUG!!!=&lt;br /&gt;
&lt;br /&gt;
Im sure you did, but before you come whining to me, please read this list of known bugs and flaws.&lt;br /&gt;
&lt;br /&gt;
* GUI is not always appearing&lt;br /&gt;
* Textitems overlap eachother&lt;br /&gt;
* Weapons are not being set properly (making you unable to shoot)&lt;br /&gt;
* Sometimes you may spawn at the same location as someone else, causing you to get stuck.&lt;br /&gt;
* Camera position is not being set.&lt;br /&gt;
* The GUI wont disapear.&lt;br /&gt;
* The aim for the secondary weapon is abit off.&lt;br /&gt;
* The primary aim sometimes disapear.&lt;br /&gt;
* Minigun sometimes aint making any damage.&lt;br /&gt;
&lt;br /&gt;
If you find something not listed here, that you think needs fixing, give me a shout on IRC.&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=12971</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=12971"/>
		<updated>2007-11-06T01:28:56Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: /* Accessories */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interstate69 is based on the Interstate series for PC. Its basicly a car game, with weapons mounted on the cars.&lt;br /&gt;
&lt;br /&gt;
Creating a map for Interstate is rather simple. But Interstate also supports your own script, and can fairly easy be remade to basicly anything.&lt;br /&gt;
&lt;br /&gt;
=So... What do I do?=&lt;br /&gt;
* Once you join you will be presented with a GUI where you can choose your vehicle and weapons.&lt;br /&gt;
** If you join in the middle of a game, you have to wait for the next round before you can spawn.&lt;br /&gt;
* Spawnpoints are choosen randomly out of the ones provided in the .map file.&lt;br /&gt;
* Once you spawn, destroy your opponents at all costs!&lt;br /&gt;
** Be sure not to die yourself.&lt;br /&gt;
* Once every opponent has been eliminated, you will gain a &amp;quot;win&amp;quot; point, and the game will restart.&lt;br /&gt;
&lt;br /&gt;
===Playing and weapons===&lt;br /&gt;
* Use mouse1 and mouse2 to fire your primary and secondary weapon.&lt;br /&gt;
* The stinger is placed with F1.&lt;br /&gt;
&lt;br /&gt;
=Creating an Interstate69 map=&lt;br /&gt;
Interstate69 is fairly easy to map. You have a few options to choose from.&lt;br /&gt;
&lt;br /&gt;
* create a map with the default settings.&lt;br /&gt;
* create a map with your own setting&lt;br /&gt;
** requiers a script alongside your map file.&lt;br /&gt;
&lt;br /&gt;
=Map Syntaxes=&lt;br /&gt;
To create an Interstate69 map, all of these syntaxes have to exsist. ''Note that these elements may change before release.''&lt;br /&gt;
&lt;br /&gt;
==Interstate69 Settings Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;settings respawntime=&amp;quot;3000&amp;quot; maxdeath=&amp;quot;5&amp;quot; elimination=&amp;quot;1&amp;quot; spawnprotection=&amp;quot;5000&amp;quot; allowedspawntime=&amp;quot;300&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Settings - description====&lt;br /&gt;
* '''respawntime:''' How long you have to wait before you respawn after being killed. Time is in milliseconds.&lt;br /&gt;
* '''maxdeath:''' For elimination - how many times you can die before getting eliminated.&lt;br /&gt;
* '''elimination:''' This small setting is one of the most important ones. Change this to &amp;quot;0&amp;quot; to use your own script.&lt;br /&gt;
** This setting will disable almost everything in Interstate, such as spawning, scoring, spectating etc etc.&lt;br /&gt;
* '''spawnprotection:''' How long time after spawn should you be protected&lt;br /&gt;
* '''allowedspawntime:''' Defines how long '''new''' people should be able to spawn after a round has begun. Time is in Minutes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Camera Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;camera posX=&amp;quot;306.56988525391&amp;quot; posY=&amp;quot;1412.0191650391&amp;quot; posZ=&amp;quot;88.63539123535&amp;quot; targetX=&amp;quot;579.46563720703&amp;quot; targetY=&amp;quot;1344.4914550781&amp;quot; targetZ=&amp;quot;10.268367767334&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A camera view you will see when choosing a vehicle etc.&lt;br /&gt;
&lt;br /&gt;
====Camera - description====&lt;br /&gt;
* '''posX, posY, posZ:''' Position of the camera&lt;br /&gt;
* '''targetX, targetY, targetZ:''' The position the camera will look at.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Gamearea Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;thearea posX=&amp;quot;505.837&amp;quot; posY=&amp;quot;1443.684&amp;quot; posZ=&amp;quot;4.6&amp;quot; size=&amp;quot;380&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A gamearea is a very good idea to have on maps without fysical walls.&lt;br /&gt;
This prevents people from driving away and hide, instead of fight like a man!&lt;br /&gt;
&lt;br /&gt;
====Gamearea - description====&lt;br /&gt;
* '''posX, posY, posZ:''' The position of the area, should be in the center of the map/gamearea&lt;br /&gt;
* '''size:''' the size of the allowed area, in radius.&lt;br /&gt;
&lt;br /&gt;
==Spawnpoints==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;spawnpoint posX=&amp;quot;526.4742&amp;quot; posY=&amp;quot;1561.264&amp;quot; posZ=&amp;quot;1.4321&amp;quot; rot=&amp;quot;100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spawnpoints defines where to spawn. You can have as many spawnpoints as you want.&lt;br /&gt;
&lt;br /&gt;
====Required Attributes====&lt;br /&gt;
* '''posX, posY, posZ:''' The position to spawn. Interstate uses an internal randInt of 10, to prevent people to spawn ontop of eachother.&lt;br /&gt;
* '''rot:''' the rotation you will spawn with.&lt;br /&gt;
** this does not currently affect the rotation of the vehicles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vehicles: How-to add==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Elegy&amp;quot; model=&amp;quot;562&amp;quot; image=&amp;quot;elegy.png&amp;quot;&amp;gt; &lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Minigun&amp;quot; id=&amp;quot;Minigun&amp;quot; type=&amp;quot;minigun&amp;quot; model=&amp;quot;2985&amp;quot; image=&amp;quot;elegy_minigun.png&amp;quot; posX=&amp;quot;0.5&amp;quot; posY=&amp;quot;1.3&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;1.5&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Small Missile&amp;quot; id=&amp;quot;Small Missile&amp;quot; type=&amp;quot;explosion&amp;quot; model=&amp;quot;3790&amp;quot; image=&amp;quot;elegy_missile.png&amp;quot; posX=&amp;quot;0.7&amp;quot; posY=&amp;quot;1.4&amp;quot; posZ=&amp;quot;-0.2&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;-1.5&amp;quot; posX1=&amp;quot;-0.7&amp;quot; posY1=&amp;quot;1.4&amp;quot; posZ1=&amp;quot;-0.2&amp;quot; rotX1=&amp;quot;0&amp;quot; rotY1=&amp;quot;0&amp;quot; rotZ1=&amp;quot;-1.6&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;SAM x4&amp;quot; id=&amp;quot;SAM x4&amp;quot; type=&amp;quot;sam4&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;Molotov&amp;quot; id=&amp;quot;Molotov&amp;quot; type=&amp;quot;molotov&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Armor&amp;quot; id=&amp;quot;Armor&amp;quot; type=&amp;quot;armor&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Stinger&amp;quot; id=&amp;quot;Stinger&amp;quot; type=&amp;quot;stinger&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/tehVehicle&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vehicles is the most important thing in Interstate.&lt;br /&gt;
Wouldnt be much fun without them, right? Ok, lets go through all the syntaxes step by step.&lt;br /&gt;
&lt;br /&gt;
====The actual vehicle====&lt;br /&gt;
* '''tehVehicle:''' This is the elementname I use for detecting vehicles.&lt;br /&gt;
* '''id:''' the ID. This should be the name of the vehicle.&lt;br /&gt;
* '''model:''' the modelnumber, found in vehicles.ide in your gta san andreas/data folder.&lt;br /&gt;
* '''image:''' This defines what image should be shown on the GUI.&lt;br /&gt;
&lt;br /&gt;
====Primary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is. &lt;br /&gt;
** Currently only minigun and explosion are reconized.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 4 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Secondary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE:Tthe ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** sam, sam4, sam8, molotov and mine is supported atm.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 3 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Accessories====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: the ID does NOT have to be unique for the accessories.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** Only armor and stinger is supported.&lt;br /&gt;
&lt;br /&gt;
==Example map==&lt;br /&gt;
Look at Interstate_de on tweaks FTP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=OMFG OMFG! I FOUND A BUG!!!=&lt;br /&gt;
&lt;br /&gt;
Im sure you did, but before you come whining to me, please read this list of known bugs and flaws.&lt;br /&gt;
&lt;br /&gt;
* GUI is not always appearing&lt;br /&gt;
* Textitems overlap eachother&lt;br /&gt;
* Weapons are not being set properly (making you unable to shoot)&lt;br /&gt;
* Sometimes you may spawn at the same location as someone else, causing you to get stuck.&lt;br /&gt;
* Camera position is not being set.&lt;br /&gt;
* The GUI wont disapear.&lt;br /&gt;
* The aim for the secondary weapon is abit off.&lt;br /&gt;
* The primary aim sometimes disapear.&lt;br /&gt;
* Minigun sometimes aint making any damage.&lt;br /&gt;
&lt;br /&gt;
If you find something not listed here, that you think needs fixing, give me a shout on IRC.&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=12970</id>
		<title>Resource:Interstate69</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Interstate69&amp;diff=12970"/>
		<updated>2007-11-06T01:23:48Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: New page: Interstate69 is based on the Interstate series for PC. Its basicly a car game, with weapons mounted on the cars.  Creating a map for Interstate is rather simple. But Interstate also suppor...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interstate69 is based on the Interstate series for PC. Its basicly a car game, with weapons mounted on the cars.&lt;br /&gt;
&lt;br /&gt;
Creating a map for Interstate is rather simple. But Interstate also supports your own script, and can fairly easy be remade to basicly anything.&lt;br /&gt;
&lt;br /&gt;
=So... What do I do?=&lt;br /&gt;
* Once you join you will be presented with a GUI where you can choose your vehicle and weapons.&lt;br /&gt;
** If you join in the middle of a game, you have to wait for the next round before you can spawn.&lt;br /&gt;
* Spawnpoints are choosen randomly out of the ones provided in the .map file.&lt;br /&gt;
* Once you spawn, destroy your opponents at all costs!&lt;br /&gt;
** Be sure not to die yourself.&lt;br /&gt;
* Once every opponent has been eliminated, you will gain a &amp;quot;win&amp;quot; point, and the game will restart.&lt;br /&gt;
&lt;br /&gt;
===Playing and weapons===&lt;br /&gt;
* Use mouse1 and mouse2 to fire your primary and secondary weapon.&lt;br /&gt;
* The stinger is placed with F1.&lt;br /&gt;
&lt;br /&gt;
=Creating an Interstate69 map=&lt;br /&gt;
Interstate69 is fairly easy to map. You have a few options to choose from.&lt;br /&gt;
&lt;br /&gt;
* create a map with the default settings.&lt;br /&gt;
* create a map with your own setting&lt;br /&gt;
** requiers a script alongside your map file.&lt;br /&gt;
&lt;br /&gt;
=Map Syntaxes=&lt;br /&gt;
To create an Interstate69 map, all of these syntaxes have to exsist. ''Note that these elements may change before release.''&lt;br /&gt;
&lt;br /&gt;
==Interstate69 Settings Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;settings respawntime=&amp;quot;3000&amp;quot; maxdeath=&amp;quot;5&amp;quot; elimination=&amp;quot;1&amp;quot; spawnprotection=&amp;quot;5000&amp;quot; allowedspawntime=&amp;quot;300&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Settings - description====&lt;br /&gt;
* '''respawntime:''' How long you have to wait before you respawn after being killed. Time is in milliseconds.&lt;br /&gt;
* '''maxdeath:''' For elimination - how many times you can die before getting eliminated.&lt;br /&gt;
* '''elimination:''' This small setting is one of the most important ones. Change this to &amp;quot;0&amp;quot; to use your own script.&lt;br /&gt;
** This setting will disable almost everything in Interstate, such as spawning, scoring, spectating etc etc.&lt;br /&gt;
* '''spawnprotection:''' How long time after spawn should you be protected&lt;br /&gt;
* '''allowedspawntime:''' Defines how long '''new''' people should be able to spawn after a round has begun. Time is in Minutes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Camera Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;camera posX=&amp;quot;306.56988525391&amp;quot; posY=&amp;quot;1412.0191650391&amp;quot; posZ=&amp;quot;88.63539123535&amp;quot; targetX=&amp;quot;579.46563720703&amp;quot; targetY=&amp;quot;1344.4914550781&amp;quot; targetZ=&amp;quot;10.268367767334&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A camera view you will see when choosing a vehicle etc.&lt;br /&gt;
&lt;br /&gt;
====Camera - description====&lt;br /&gt;
* '''posX, posY, posZ:''' Position of the camera&lt;br /&gt;
* '''targetX, targetY, targetZ:''' The position the camera will look at.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Gamearea Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;thearea posX=&amp;quot;505.837&amp;quot; posY=&amp;quot;1443.684&amp;quot; posZ=&amp;quot;4.6&amp;quot; size=&amp;quot;380&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A gamearea is a very good idea to have on maps without fysical walls.&lt;br /&gt;
This prevents people from driving away and hide, instead of fight like a man!&lt;br /&gt;
&lt;br /&gt;
====Gamearea - description====&lt;br /&gt;
* '''posX, posY, posZ:''' The position of the area, should be in the center of the map/gamearea&lt;br /&gt;
* '''size:''' the size of the allowed area, in radius.&lt;br /&gt;
&lt;br /&gt;
==Spawnpoints==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;spawnpoint posX=&amp;quot;526.4742&amp;quot; posY=&amp;quot;1561.264&amp;quot; posZ=&amp;quot;1.4321&amp;quot; rot=&amp;quot;100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spawnpoints defines where to spawn. You can have as many spawnpoints as you want.&lt;br /&gt;
&lt;br /&gt;
====Required Attributes====&lt;br /&gt;
* '''posX, posY, posZ:''' The position to spawn. Interstate uses an internal randInt of 10, to prevent people to spawn ontop of eachother.&lt;br /&gt;
* '''rot:''' the rotation you will spawn with.&lt;br /&gt;
** this does not currently affect the rotation of the vehicles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vehicles: How-to add==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tehVehicle id=&amp;quot;Elegy&amp;quot; model=&amp;quot;562&amp;quot; image=&amp;quot;elegy.png&amp;quot;&amp;gt; &lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Minigun&amp;quot; id=&amp;quot;Minigun&amp;quot; type=&amp;quot;minigun&amp;quot; model=&amp;quot;2985&amp;quot; image=&amp;quot;elegy_minigun.png&amp;quot; posX=&amp;quot;0.5&amp;quot; posY=&amp;quot;1.3&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;1.5&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;primary name=&amp;quot;Small Missile&amp;quot; id=&amp;quot;Small Missile&amp;quot; type=&amp;quot;explosion&amp;quot; model=&amp;quot;3790&amp;quot; image=&amp;quot;elegy_missile.png&amp;quot; posX=&amp;quot;0.7&amp;quot; posY=&amp;quot;1.4&amp;quot; posZ=&amp;quot;-0.2&amp;quot; rotX=&amp;quot;0&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;-1.5&amp;quot; posX1=&amp;quot;-0.7&amp;quot; posY1=&amp;quot;1.4&amp;quot; posZ1=&amp;quot;-0.2&amp;quot; rotX1=&amp;quot;0&amp;quot; rotY1=&amp;quot;0&amp;quot; rotZ1=&amp;quot;-1.6&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;SAM x4&amp;quot; id=&amp;quot;SAM x4&amp;quot; type=&amp;quot;sam4&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;secondary name=&amp;quot;Molotov&amp;quot; id=&amp;quot;Molotov&amp;quot; type=&amp;quot;molotov&amp;quot; model=&amp;quot;3267&amp;quot; image=&amp;quot;elegy_sam.png&amp;quot; posX=&amp;quot;0&amp;quot; posY=&amp;quot;-1.5&amp;quot; posZ=&amp;quot;-0.7&amp;quot; rotX=&amp;quot;-0.5&amp;quot; rotY=&amp;quot;0&amp;quot; rotZ=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Armor&amp;quot; id=&amp;quot;Armor&amp;quot; type=&amp;quot;armor&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;accessory name=&amp;quot;Stinger&amp;quot; id=&amp;quot;Stinger&amp;quot; type=&amp;quot;stinger&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/tehVehicle&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vehicles is the most important thing in Interstate.&lt;br /&gt;
Wouldnt be much fun without them, right? Ok, lets go through all the syntaxes step by step.&lt;br /&gt;
&lt;br /&gt;
====The actual vehicle====&lt;br /&gt;
* '''tehVehicle:''' This is the elementname I use for detecting vehicles.&lt;br /&gt;
* '''id:''' the ID. This should be the name of the vehicle.&lt;br /&gt;
* '''model:''' the modelnumber, found in vehicles.ide in your gta san andreas/data folder.&lt;br /&gt;
* '''image:''' This defines what image should be shown on the GUI.&lt;br /&gt;
&lt;br /&gt;
====Primary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: The ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is. &lt;br /&gt;
** Currently only minigun and explosion are reconized.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 4 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Secondary Weapons====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE:Tthe ID MUST BE UNIQUE for all vehicles! I suggest you add spaces, like id=&amp;quot;Minigun   &amp;quot; etc.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** sam, sam4, sam8, molotov and mine is supported atm.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
* '''posX, posY, posZ:''' The position it should attach on.&lt;br /&gt;
* '''posX1, posY1, posZ1:''' If you want to attach more than one object as primary weapon, define them with &amp;quot;posX1&amp;quot; etc...&lt;br /&gt;
** A maximum of 3 objects are supported.&lt;br /&gt;
* '''rotX, rotY, rotZ:''' The rotation of the object.&lt;br /&gt;
&lt;br /&gt;
====Accessories====&lt;br /&gt;
* '''name:''' This is the name that is displayed in the GUI.&lt;br /&gt;
* '''id:''' The id tells the gui where to look for the data&lt;br /&gt;
** NOTE: the ID does NOT have to be unique for the accessories.&lt;br /&gt;
* '''type:''' This tells the script what kind of weapon it is.&lt;br /&gt;
** Only armor and stinger is supported.&lt;br /&gt;
* '''model:''' The object id of the object to attach.&lt;br /&gt;
* '''image:''' An image to show the weapon in the GUI. Should be the same size as the vehicle image, but with transparent background&lt;br /&gt;
&lt;br /&gt;
==Example map==&lt;br /&gt;
Look at Interstate_de on tweaks FTP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=OMFG OMFG! I FOUND A BUG!!!=&lt;br /&gt;
&lt;br /&gt;
Im sure you did, but before you come whining to me, please read this list of known bugs and flaws.&lt;br /&gt;
&lt;br /&gt;
* GUI is not always appearing&lt;br /&gt;
* Textitems overlap eachother&lt;br /&gt;
* Weapons are not being set properly (making you unable to shoot)&lt;br /&gt;
* Sometimes you may spawn at the same location as someone else, causing you to get stuck.&lt;br /&gt;
* Camera position is not being set.&lt;br /&gt;
* The GUI wont disapear.&lt;br /&gt;
* The aim for the secondary weapon is abit off.&lt;br /&gt;
* The primary aim sometimes disapear.&lt;br /&gt;
* Minigun sometimes aint making any damage.&lt;br /&gt;
&lt;br /&gt;
If you find something not listed here, that you think needs fixing, give me a shout on IRC.&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetCameraPosition&amp;diff=12460</id>
		<title>SetCameraPosition</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetCameraPosition&amp;diff=12460"/>
		<updated>2007-10-09T09:08:56Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function allows you to move a player's camera to a specific location if it is fixed (see [[setCameraMode]]).&lt;br /&gt;
 &lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setCameraPosition ( player thePlayer, float x, float y, float z )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player whose camera you wish to modify. (not needed for clientside scripting)&lt;br /&gt;
*'''x:''' The x coordinate of the new position.&lt;br /&gt;
*'''y:''' The x coordinate of the new position.&lt;br /&gt;
*'''z:''' The x coordinate of the new position.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the function was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function spawnScreen ( source )&lt;br /&gt;
        setCameraMode ( source, &amp;quot;fixed&amp;quot; )                                     -- Make the camera fixed (instead of following the player)&lt;br /&gt;
        setTimer ( setCameraPosition, 1000, 1, source, 160.15, -1951.68, 50 ) -- Set the coordinates of the camera&lt;br /&gt;
        setTimer ( setCameraLookAt, 1000, 1, source, 165, -1951.68, 50 )      -- Make the camera look at specified coordinates&lt;br /&gt;
        bindKey ( source, &amp;quot;F1&amp;quot;, &amp;quot;down&amp;quot;, &amp;quot;Spawn as Vagos&amp;quot;, spawnVagos )        -- Bind spawn key (function spawnVagos is not given here)&lt;br /&gt;
        bindKey ( source, &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, &amp;quot;Spawn as Aztecs&amp;quot;, spawnAztecs )      -- Bind spawn key (function spawnAztecs is not given here)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Camera functions}}&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetCameraLookAt&amp;diff=12459</id>
		<title>SetCameraLookAt</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetCameraLookAt&amp;diff=12459"/>
		<updated>2007-10-09T09:08:31Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function allows you to set a player's camera to look at a specific point when the camera is fixed (see [[setCameraMode]]).&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setCameraLookAt ( player thePlayer, float x, float y, float z )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player whose camera you wish to modify. (not needed for clientside scripting)&lt;br /&gt;
*'''x:''' The x coordinate of the point to be looked at.&lt;br /&gt;
*'''y:''' The y coordinate of the point to be looked at.&lt;br /&gt;
*'''z:''' The z coordinate of the point to be looked at.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the function was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function spawnScreen ( source )&lt;br /&gt;
	setCameraMode ( source, &amp;quot;fixed&amp;quot; )                                     -- Make the camera fixed (instead of following the player)&lt;br /&gt;
	setTimer ( setCameraPosition, 1000, 1, source, 160.15, -1951.68, 50 ) -- Set the coordinates of the camera&lt;br /&gt;
	setTimer ( setCameraLookAt, 1000, 1, source, 165, -1951.68, 50 )      -- Make the camera look at specified coordinates&lt;br /&gt;
	bindKey ( source, &amp;quot;F1&amp;quot;, &amp;quot;down&amp;quot;, &amp;quot;Spawn as Vagos&amp;quot;, spawnVagos )        -- Bind spawn key (function spawnVagos is not given here)&lt;br /&gt;
	bindKey ( source, &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, &amp;quot;Spawn as Aztecs&amp;quot;, spawnAztecs )      -- Bind spawn key (function spawnAztecs is not given here)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Camera functions}}&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetCameraLookAt&amp;diff=12458</id>
		<title>SetCameraLookAt</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetCameraLookAt&amp;diff=12458"/>
		<updated>2007-10-09T09:07:54Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function allows you to set a player's camera to look at a specific point when the camera is fixed (see [[setCameraMode]]).&lt;br /&gt;
&lt;br /&gt;
the player argument is NOT needed for clientside scripting!&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setCameraLookAt ( player thePlayer, float x, float y, float z )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player whose camera you wish to modify.&lt;br /&gt;
*'''x:''' The x coordinate of the point to be looked at.&lt;br /&gt;
*'''y:''' The y coordinate of the point to be looked at.&lt;br /&gt;
*'''z:''' The z coordinate of the point to be looked at.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the function was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function spawnScreen ( source )&lt;br /&gt;
	setCameraMode ( source, &amp;quot;fixed&amp;quot; )                                     -- Make the camera fixed (instead of following the player)&lt;br /&gt;
	setTimer ( setCameraPosition, 1000, 1, source, 160.15, -1951.68, 50 ) -- Set the coordinates of the camera&lt;br /&gt;
	setTimer ( setCameraLookAt, 1000, 1, source, 165, -1951.68, 50 )      -- Make the camera look at specified coordinates&lt;br /&gt;
	bindKey ( source, &amp;quot;F1&amp;quot;, &amp;quot;down&amp;quot;, &amp;quot;Spawn as Vagos&amp;quot;, spawnVagos )        -- Bind spawn key (function spawnVagos is not given here)&lt;br /&gt;
	bindKey ( source, &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, &amp;quot;Spawn as Aztecs&amp;quot;, spawnAztecs )      -- Bind spawn key (function spawnAztecs is not given here)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Camera functions}}&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnPlayerDamage&amp;diff=12384</id>
		<title>OnPlayerDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnPlayerDamage&amp;diff=12384"/>
		<updated>2007-10-04T20:43:55Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
This event is triggered when a player is damaged, in any way.&lt;br /&gt;
* ''It should be noted that this event is not triggered when attacked by a team member if friendly fire is enabled.''&lt;br /&gt;
* ''It should also be noted that canceling this event has no effect. Cancel onClientPlayerDamage instead (clientside).''&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
void onPlayerDamage ( player attacker, int attackerweapon, int bodypart, float loss )        &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Variables==&lt;br /&gt;
* The source of this event refers to the player who was damaged&lt;br /&gt;
*'''attacker''': A player element representing the player who was the attacker.  If there was no attacker this returns false.&lt;br /&gt;
*'''attackerweapon''': An integer representing the weapon the attacker used to kill the player&lt;br /&gt;
*'''bodypart''': An integer representing the bodypart ID the player was hit on when he died.&lt;br /&gt;
{{BodyParts}}&lt;br /&gt;
*'''loss''': A float representing the percentage of health the player lost.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example causes an instant kill when a player is shot in the head, and announces it in the chatbox.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--add an event handler for the onPlayerDamage event&lt;br /&gt;
function playerDamage_text ( attacker, weapon, bodypart, loss ) --when a player is damaged&lt;br /&gt;
	if ( bodypart == 9 ) then -- if the body part is 9, i.e. the head&lt;br /&gt;
            outputChatBox ( &amp;quot;Headshot!&amp;quot;, getRootElement (), 255, 170, 0 ) --output &amp;quot;Headshot&amp;quot; into the chatbox&lt;br /&gt;
	    killPlayer ( source, attacker, weapon, bodypart ) -- and kill the player&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerDamage&amp;quot;, getRootElement (), playerDamage_text )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Event_functions}}&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientPlayerTarget&amp;diff=11995</id>
		<title>OnClientPlayerTarget</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientPlayerTarget&amp;diff=11995"/>
		<updated>2007-09-14T16:33:12Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Incomplete Event]]&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is triggerd every time a player is aiming (requiers a gun)&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
void onClientPlayerTarget ( element target )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''target:''' The element the player is currently targeting. &lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example outputs the type of the target the client is aiming at&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function targetingActivated ( target )&lt;br /&gt;
if ( target ) then&lt;br /&gt;
	outputChatBox(tostring(getElementType(source)))&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientPlayerTarget&amp;quot;, getRootElement(), targetingActivated )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientPlayerTarget&amp;diff=11994</id>
		<title>OnClientPlayerTarget</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientPlayerTarget&amp;diff=11994"/>
		<updated>2007-09-14T16:26:57Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Incomplete Event]]&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is triggerd every time a player is aiming (requiers a gun)&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
void onClientPlayerTarget ( element target )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example outputs the type of the target the client is aiming at&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function targetingActivated ( target )&lt;br /&gt;
if ( target ) then&lt;br /&gt;
	outputChatBox(tostring(getElementType(source)))&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientPlayerTarget&amp;quot;, getRootElement(), targetingActivated )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientPlayerTarget&amp;diff=11993</id>
		<title>OnClientPlayerTarget</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientPlayerTarget&amp;diff=11993"/>
		<updated>2007-09-14T16:26:26Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Incomplete Event]]&lt;br /&gt;
&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is triggerd every time a player is aiming (requiers a gun)&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
void onClientPlayerTarget ( element target )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example outputs the type of the target the client is aiming at&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function targetingActivated ( target )&lt;br /&gt;
if ( target ) then&lt;br /&gt;
	outputChatBox(tostring(getElementType(source)))&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientPlayerTarget&amp;quot;, getRootElement(), targetingActivated )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientPlayerTarget&amp;diff=11992</id>
		<title>OnClientPlayerTarget</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientPlayerTarget&amp;diff=11992"/>
		<updated>2007-09-14T16:22:06Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Needs_Checking|Could not make work with&lt;br /&gt;
&amp;lt;pre&amp;gt;root = getRootElement ()&lt;br /&gt;
&lt;br /&gt;
addEventHandler ( &amp;quot;onClientPlayerTarget&amp;quot;, root, &amp;quot;targetingActivated&amp;quot; )&lt;br /&gt;
function targetingActivated ( target )&lt;br /&gt;
outputChatBox ( &amp;quot;hi&amp;quot; )&lt;br /&gt;
end&amp;lt;/pre&amp;gt;&lt;br /&gt;
and yes it was defined as a client script. --[[User:Ransom|Ransom]] 00:34, 12 April 2007 (CDT)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Incomplete Event]]&lt;br /&gt;
&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is blahblah and is used for blahblah.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
void onClientPlayerTarget ( element target )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example outputs the type of the target the client is aiming at&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function targetingActivated ( target )&lt;br /&gt;
if ( target ) then&lt;br /&gt;
	outputChatBox(tostring(getElementType(source)))&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientPlayerTarget&amp;quot;, getRootElement(), targetingActivated )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetElementPosition&amp;diff=9269</id>
		<title>GetElementPosition</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetElementPosition&amp;diff=9269"/>
		<updated>2007-07-29T04:13:01Z</updated>

		<summary type="html">&lt;p&gt;Lucif3r: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
An Element is anything which has been defined or can be retrieved from Lua.  The getElementPosition function allows you to retrieve the location of any element.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float, float, float getElementPosition ( element theElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theElement:''' The element in which you'd like to retrieve the location of&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns three floats indicating the position of the element, ''x'', ''y'' and ''z'' respectively.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Explain what the example does here&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- create a landstalker, and store it's reference in the variable called 'myLandstalker'&lt;br /&gt;
myLandstalker = createVehicle ( 400, 1591.596680, -2495.323242, 18.098244 ) &lt;br /&gt;
-- Create a weapon pickup at the vehicle's position&lt;br /&gt;
createPickup ( getElementPosition ( myLandstalker ), 2, 31 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example attaches a samsite on the players vehicle.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- create the elegy;&lt;br /&gt;
vehicle = getPlayerOccupiedVehicle ( 562, 1591.596680, -2495.323242, 18.098244 ) &lt;br /&gt;
-- get the vehicles position;&lt;br /&gt;
local x,y,z = getElementPosition(vehicle)&lt;br /&gt;
-- Create the samsite;&lt;br /&gt;
samsite = createObject ( 3267, x, y, z + 3 )&lt;br /&gt;
-- attach the samsite to the elegy;&lt;br /&gt;
attachElementToElement ( samsite, vehicle, 0, 0, 0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>Lucif3r</name></author>
	</entry>
</feed>