Lua loaded records #9
@ -1197,12 +1197,12 @@ local function saveTime(player)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- DEBUGGING
|
-- DEBUGGING
|
||||||
local function saveLeaderboard(player, ...)
|
--local function saveLeaderboard(player, ...)
|
||||||
TimeFinished = tonumber(... or player.realtime)
|
-- TimeFinished = tonumber(... or player.realtime)
|
||||||
splits = {1000, 2000, 3000}
|
-- splits = {1000, 2000, 3000}
|
||||||
saveTime(player)
|
-- saveTime(player)
|
||||||
end
|
--end
|
||||||
COM_AddCommand("save", saveLeaderboard)
|
--COM_AddCommand("save", saveLeaderboard)
|
||||||
|
|
||||||
local function regLap(player)
|
local function regLap(player)
|
||||||
if player.laps > prevLap and TimeFinished == 0 then
|
if player.laps > prevLap and TimeFinished == 0 then
|
||||||
|
Loading…
Reference in New Issue
Block a user