Advertisement
Tectoon

[TFM] Rotação de Mapas

May 5th, 2015
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. np= tfm.exec.disableAutoNewGame(true) or {1054567, 47, 48};
  2.  
  3. function eventLoop(a, b)
  4.     local c= 0;
  5.     table.foreach(tfm.get.room.playerList, function(i,v) c= not v.isDead and c+1 or c end)
  6.     c= (c == 0 or b <=0) and tfm.exec.newGame(np[math.random(#np)]) or nil;
  7. end
  8.  
  9. eventLoop(0, 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement