Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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], {x = t[3], y = t[4], z = t[5]})
- 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