Guest User

Untitled

a guest
Jun 24th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. function onUse(cid, item, fromPosition, itemEx, toPosition)
  2. Storage = 12654
  3.  
  4. if getPlayerStorageValue (cid, Storage) == -1 then
  5. if item.uid == 12321 then
  6. doPlayerAddItem(cid, 11117, 1, true)
  7. doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found Crystal boots")
  8. doSendMagicEffect(getCreaturePosition(cid), 40)
  9. else
  10. elseif item.uid == 1952 then
  11. doPlayerAddItem(cid, 2365, 1, true)
  12. elseif item.uid == 1089 then
  13. doPlayerAddItem(cid, 7428, 1, true)
  14. end
  15. --setPlayerStorageValue (cid, Storage, 1)
  16. end
  17.  
  18.  
  19.  
  20. return true
  21. end
Add Comment
Please, Sign In to add comment