Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onUse(cid, item, fromPosition, itemEx, toPosition)
- Storage = 12654
- if getPlayerStorageValue (cid, Storage) == -1 then
- if item.uid == 12321 then
- doPlayerAddItem(cid, 11117, 1, true)
- doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found Crystal boots")
- doSendMagicEffect(getCreaturePosition(cid), 40)
- else
- elseif item.uid == 1952 then
- doPlayerAddItem(cid, 2365, 1, true)
- elseif item.uid == 1089 then
- doPlayerAddItem(cid, 7428, 1, true)
- end
- --setPlayerStorageValue (cid, Storage, 1)
- end
- return true
- end
Add Comment
Please, Sign In to add comment