Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onSay(cid, words, param)
- if isKnight(cid) then
- if doPlayerRemoveItem(cid,2270,1) then
- doPlayerAddItem(cid, 2345)
- doSendMagicEffect(getPlayerPosition(cid), CONST_ME_GIFT_WRAPS)
- doCreatureSay(cid, "You have successfully upgraded your super UH for Ultimate dick UH!", TALKTYPE_ORANGE_1)
- else
- doPlayerSendCancel(cid, "You don't have any "..getItemNameById(2270) ..".")
- doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
- end
- else
- doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
- doPlayerSendCancel(cid, "You are not a Knight.")
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement