Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. m={}
  2. table.foreach(tfm.get.room.playerList,function(k) m[#m+1]=k end)
  3. tfm.exec.setShaman(m[math.random(#m)])
  4.  
  5. quantidade = 0 -- ponha a quantidade
  6. tempo = 5 -- ponha o tempo
  7. function eventLoop(a,b)
  8. if b<tempo then
  9. for i = 1,quantidade do
  10. tfm.exec.addShamanObject(1,math.random(0,800),math.random(0,400),math.random(-90,90))
  11. end
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement