Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. function onSay(cid, words, param)
  2.  
  3. if isKnight(cid) then
  4. if doPlayerRemoveItem(cid,2270,1) then
  5. doPlayerAddItem(cid, 2345)
  6. doSendMagicEffect(getPlayerPosition(cid), CONST_ME_GIFT_WRAPS)
  7. doCreatureSay(cid, "You have successfully upgraded your super UH for Ultimate dick UH!", TALKTYPE_ORANGE_1)
  8. else
  9. doPlayerSendCancel(cid, "You don't have any "..getItemNameById(2270) ..".")
  10. doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
  11. end
  12. else
  13. doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
  14. doPlayerSendCancel(cid, "You are not a Knight.")
  15. end
  16.  
  17. return true
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement