Catherine wrote:
How do i make this work for all characterS? cause it works only on 1
What do u mean with "works for all" ? This script is running every time u create a new character on your server. Every character will get the items you defined there....
But anyway...here are some tipps:
The following code we use on our server. Every new char, gets all tools when he spawns.
- Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<xml>
<items>
<item id="297" amount="1" vik="no" mon="no"/>
<item id="1137" amount="1" eur="no" mon="no"/>
<item id="1138" amount="1" vik="no" eur="no"/>
<item id="42" amount="1"/>
<item id="33" amount="1"/>
<item id="40" amount="1"/>
<item id="51" amount="1"/>
<item id="48" amount="1"/>
<item id="290" amount="1"/>
<item id="46" amount="1"/>
<item id="44" amount="1"/>
<item id="1013" amount="5"/>
</items>
</xml>
If u want other items or more items just change, add oder delete some lines. If u want to give more then 1 from a single item, just change "amount". If the item is not stackable, just add another line with the same item id.
Without definiers all items will have Q50 and D50.
VIK, MON & EUR means Viking, Mongol and European.
So in my code this means:
Item 297 is only for European(EUR)
Item 1137 is only for Viking(VIK)
Item 1138 is only for Mongol(MON)
if u have more questions about this, just ask. :-)