Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t={
- m={0,1,2,3,4,5,6,7,8,9,10},--MAPAS AQUI
- botamapa=function(self)
- tfm.exec.newGame(self.m[math.random(#self.m)])
- end,
- temratoounao=function()
- local i=0
- table.foreach(tfm.get.room.playerList,function(k,v) i=not v.isDead and i+1 or i end)
- return i==0
- end
- }
- function eventLoop(_,r)
- podeir=t.temratoounao()
- podeir=(podeir or r<=0)
- if podeir then t:botamapa() end
- end
- tfm.exec.disableAutoNewGame(true)
- t:botamapa()
Advertisement
Add Comment
Please, Sign In to add comment