• 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!

onEquip example request

MadMOOK

Hoo
Joined
Apr 20, 2011
Messages
802
Reaction score
43
Can someone help me with this? I need a platform to work with so i can use secondary functions.
Hotd is not a good example.
Say for example i put a helmet on i can use doPlayersendtextmessage .

Thanks if you can help
 
movements.xml
change
Code:
<movevent type="Equip" itemid="8881" slot="armor" level="60" event="function" value="onEquipItem">
to
Code:
<movevent type="Equip" itemid="8881" slot="armor" level="90" event="script" value="xxx.lua">
if you also want the item to keep the atributes in items.xml and youre using TFS 0.4 add in the script.
Code:
callFunction(cid, item.uid, slot, boolean)
 
Back
Top