Guest User

Untitled

a guest
Apr 22nd, 2018
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. local str = 5453
  2. function onUse(cid, item, fromPosition, itemEx, toPosition)
  3. if getPlayerStorageValue(cid, str) == -1 then
  4. doPlayerAddOutfitId(cid, 10,2)
  5. doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "GZZZZZZZZZZZZZZZZZZZZ")
  6. setPlayerStorageValue(cid, str,1)
  7. else
  8. doPlayerSendCancel(cid,"cancel msg")
  9. doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
  10. end
  11. return true
  12. end
Add Comment
Please, Sign In to add comment