Advertisement
RoksasNunes

NEWINVASION

Apr 14th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. function onSay(cid, words, param)
  2.  
  3. local t = string.explode(param, ",")
  4.  
  5. if(param == '') then
  6. doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires a amount to raid.")
  7. return true
  8. end
  9.  
  10. for i = 1, t[2] do
  11. doCreateMonster(t[1], {x = t[3], y = t[4], z = t[5]})
  12. end
  13.  
  14. doBroadcastMessage("A new invasion began, run to kill the "..t[2].." "..t[1].."'s!")
  15. return true
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement