Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onSay(cid, words, param)
- if(getPlayerItemCount(cid, 9971) > 0) then
- if (getPlayerLevel(cid) >= 100) then
- doPlayerRemoveItem(cid, 99710, 10)
- setPlayerPromotionLevel(cid, 1)
- doBroadcastMessage("ParabΓ©ns " .. getCreatureName(cid) .. " vocΓͺ se tornou um ".. getPlayerVocationName(cid) .." ")
- doCreatureSay(cid, "SOU FODA", TALKTYPE_ORANGE_1)
- savePlayers = saveServer
- else
- doPlayerSendTextMessage(cid, 20, "Voce nΓ£o possui level suficiente, va upar!")
- end
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment