DE/Xml
Jump to navigation
Jump to search
XML steht für Extensible Markup Language. XML kann in MTA verwendet werden, um Daten zu lesen oder zu schreiben. MTA Mapdateien sind auch im XML-Format.
Beispiel für XML:
<meta> <info author="Slothman" type="gamemode" name="Stealth" /> <config src="help.xml" type="client"/> <script src="stealthmain_server.lua" /> <script src="noiseblip.lua" /> <script src="mission_timer.lua" /> <script src="gadgets_server.lua" /> <script src="gadgets_client.lua" type="client"/> <script src="stealthmain_client.lua" type="client"/> <script src="noisebar.lua" type="client"/> <script src="spycam.lua" type="client"/> <file src="riot_shield.txd" /> <file src="riot_shield.dff" /> <file src="riot_shield.col" /> <file src="armor.png" /> <file src="camera.png" /> <file src="cloak.png" /> <file src="goggles.png" /> <file src="mine.png" /> <file src="radar.png" /> <file src="shield.png" /> <include resource="scoreboard" /> <include resource="killmessages" /> <include resource="maplimits" /> </meta>
Ähnliche Skriptingfunktionen
- xmlCopyFile
- xmlCreateChild
- xmlCreateFile
- xmlDestroyNode
- xmlFindChild
- xmlLoadFile
- xmlLoadString
- xmlNodeGetAttribute
- xmlNodeGetAttributes
- xmlNodeGetChildren
- xmlNodeGetName
- xmlNodeGetParent
- xmlNodeGetValue
- xmlNodeSetAttribute
- xmlNodeSetName
- xmlNodeSetValue
- xmlSaveFile
- xmlUnloadFile