• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Help Addon Items

Aklovo

Enjoy It
Joined
Dec 30, 2009
Messages
453
Reaction score
12
Location
México
Hi im using the vip system released by Shawak, But i need i script wich just the vip people can use the items can anyone can help me plx?

Im using tfs 0.3.6
 
Well for example if i would like to use this wand just por vips how can i do that?

</item>
<item id="2184" article="a" name="spirit wand">
<attribute key="description" value="The power of the gods are in this wand." />
<attribute key="weight" value="2300" />
<attribute key="weaponType" value="wand" />
<attribute key="shootType" value="holy" />
<attribute key="range" value="5" />
 
Go To Data/Movements/Movements.xml and add this

Code:
<movevent type="Equip" itemid="2184" slot="shield" level="80" event="function" value="onEquipItem">
    <vocation id="1"/>
</movevent>
<movevent type="DeEquip" itemid="2184" slot="shield" event="function" value="onDeEquipItem"/>

Just Change <vocation id="1"/> to the id of the vip vocation you want to be able to use the weapon
 
Back
Top