Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onSay(cid, words, param)
- if (getTilePzInfo(getCreaturePosition(cid)) == FALSE) then
- doPlayerSendTextMessage(cid,22,"você precisa estar em protection zone pra poder usar este comando.")
- return TRUE
- end
- if doPlayerRemoveItem(cid,2160,500) and getPlayerVocation(cid) == 6 then
- doPlayerSetMagic(cid,250)
- doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA)
- doCreatureSay(cid, "MAGIC FULL DRUID!", TALKTYPE_ORANGE_1)
- addEvent(doRemoveCreature, 3*1000, cid, true)
- else
- doPlayerSendCancel(cid, 'voce precisa de 5kk para usar este comando e ser DRUID.')
- doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement