Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monsters = {"Pidgey", "Charmeleon", "Chikorita", "Bulbassaur", "Blastoise"}
- local randm = monsters[math.random(1, #monsters)]
- local maxm, id = 5, 2148 -- Maximo de monsters que pode sumonar / ID DO ITEM QUE CRIA, QUANTIDADE
- local randf = doCreateMonster(randm, getCreaturePosition(cid))
- local randi = doCreateItem(id, quant, getCreaturePosition(cid))
- function onStepIn(cid, item, pos)
- for i = 1, math.random(1,maxm) do
- math.random(randf,randi)
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement