Advertisement
Guest User

POwnerSys.lua

a guest
Nov 12th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. function onEquip(cid, item)
  2. if getItemAttribute(item.uid, "owner") then
  3. if not isInArray({getCreatureName(cid)}, getItemAttribute(item.uid, "owner")) then
  4.  
  5. doPlayerSendCancel(cid, "Desculpe, mas este item pertence a "..getItemAttribute(item.uid, "owner"))
  6. return false
  7. end
  8. end
  9. return true
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement