Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onEquip(cid, item)
- if getItemAttribute(item.uid, "owner") then
- if not isInArray({getCreatureName(cid)}, getItemAttribute(item.uid, "owner")) then
- doPlayerSendCancel(cid, "Desculpe, mas este item pertence a "..getItemAttribute(item.uid, "owner"))
- return false
- end
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement