Thetroz

Spawn en 2 lugares.

Dec 26th, 2013
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. spawnI={}
  2. spawnII={}
  3.  
  4. for name,player in pairs(tfm.get.room.playerList) do
  5.                 table.insert(spawnI,name)
  6. end
  7. for name,player in pairs(tfm.get.room.playerList) do
  8.                 table.insert(spawnII,name)
  9. end
  10.  
  11. tfm.exec.movePlayer(spawnI[math.random(#spawnI)], x, y, 0, 0, 0, true)
  12. tfm.exec.movePlayer(spawnII[math.random(#spawnII)], x, y, 0, 0, 0, true)
Advertisement
Add Comment
Please, Sign In to add comment