Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- players = {}
- jugadoruno = {}
- jugadordos = {}
- for name,player in pairs(tfm.get.room.playerList) do
- table.insert(players, name)
- end
- function agregar()
- table.insert(jugadoruno, players[math.random(#players)])
- table.insert(jugadordos, players[math.random(#players)])
- end
- agregar()
- print(jugadoruno[1])
- print(jugadordos[1])
Add Comment
Please, Sign In to add comment