Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function eventPlayerWon(playerName, tiempoRonda, tiempoRespawn)
- if respawn then
- tfm.exec.respawnPlayer(playerName)
- colorReyes()
- end
- tfm.exec.setPlayerScore(playerName, 1, true)
- str = "\n<textformat tabstops='[70, 170, 300]'>"
- table.insert(times, {time = tiempoRespawn / 100, name = playerName})
- table.sort(times, function(i, v) return i.time < v.time end)
- for i, completion in ipairs(times) do
- if i <= 15 then
- if i < 10 then i = 0 .. i end
- str = str ..
- (i .. ' | ' .. completion.name .. '\t| ' ..
- completion.time .. 's\n')
- end
- end
- str = str .. '</textformat>'
- for nombre, p in pairs(tfm.get.room.playerList) do records(nombre) end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement