natanal99
New Member
- Joined
- May 31, 2011
- Messages
- 67
- Reaction score
- 3
i have this in weapons.xml
is there a way i can i know in the "melee.lua" script wich weapon id casted the onUseWeapon()?
Code:
<melee id="7390" level="2000" enabled="1" event="script" value="melee.lua">
<vocation id="1"/>
</melee>
<melee id="8209" level="2000" enabled="1" event="script" value="melee.lua">
<vocation id="1"/>
</melee>
is there a way i can i know in the "melee.lua" script wich weapon id casted the onUseWeapon()?