Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local position = {x = 1000, y = 1000, z = 7}
- function onSay(cid, words, param)
- local t = string.explode(param, ",")
- if(param == '') then
- doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires a amount to raid.")
- return true
- end
- for i = 1, t[2] do
- doCreateMonster(t[1], position, true)
- end
- doBroadcastMessage("A new invasion began, run to kill the "..t[2].." "..t[1].."'s!")
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement