FilipeJF
New Member
- Joined
- Jan 9, 2012
- Messages
- 124
- Reaction score
- 4
Is there any function in Crying Damson 0.3.6 that can verify the kind of weapon the player is currently equipped with? I did a research around the internet and I've found some interesting ones:
Is there a way to group those functions to verify if the player is equipped with a shield, a sword, an axe, a club or even a wand?
Lua:
((getPlayerSlotItem(cid, 6).itemid == ID de todos os itens do tipo) or (getPlayerSlotItem(cid, 5).itemid == ID de todos os itens do tipo))
getItemWeaponType(uid)
getItemWeaponType(getPlayerWeapon(cid, true).uid)
Is there a way to group those functions to verify if the player is equipped with a shield, a sword, an axe, a club or even a wand?