Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onSay(cid, words, param, channel)
- local damages = {100,500,1000,1500,2000,2500,3000,5000}
- local percents = damages[math.random(1, #damages)]
- if #getCreatureSummons(cid) >= 1 then
- doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você precisa guardar seu pokémon para soltar uma bomba.")
- return
- end
- doAreaCombatHealth(0, cid, COMBAT_PHYSICALDAMAGE, percents, CONST_ME_EXPLOSIONHIT)
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement