XML Syntax Examples: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary

Revision as of 00:16, 1 January 2008

XML Syntax Examples

Spawnpoint

<spawnpoint id="spawn1" posX="2588.864" posY="-1199.818" posZ="64.612" rot="140" skin="0" team="Green"/>

Team

<team name="Blue" colorR="0" colorG="0" colorB="255"/>

Vehicle

<vehicle id="sultan1" posX="1517.525" posY="12.108" posZ="23.846" model="560" rotZ="100" colors="3" upgrades="all" paintjob="1"/>
<vehicle id="infernus1" posX="1516.053" posY="22.059" posZ="23.804" model="411" rotZ="100" colors="2" upgrades="1010"/>
<vehicle id="stunt2" posX="1469.974" posY="29.243" posZ="29.628" model="513" rotZ="160" color1="2" color2="3" color3="0" color4="0"/>

Pickup

<pickup posX="1653.113" posY="10.935" posZ="9.137" type="weapon" ammo="5" weapon="35" respawn="30"/>
health
armor

Marker

<marker id="marker2" posX="1482.2208" posY="9.8723" posZ="25.4673" type="cylinder" color? />

(doesn't work)

Object

<object id="obj_4" posX="1937.028" posY="-2492.969" posZ="13.243" model="5153" rotZ="0"/>

Ped

<ped id="ped1" model="0" posX="-2385.672" posY="-576.229" posZ="132.117"/>

Blip

<blip id="blip" posX="2588.864" posY="-1199.818" posZ="64.612" color? size? />

(doesn't work)

Radar area

<radararea id="area4" posX="1258" posY="1426" sizeX="100" sizeY="150" color? />

(doesn't work)