forked from ZionDevelopers/sui-scoreboard
add support for CFC Time
This commit is contained in:
parent
49bd9d5630
commit
8f7abd3df2
@ -159,6 +159,8 @@ Scoreboard.getPlayerTime = function (ply)
|
||||
return CurTime() - ply:GetNWInt("maestro-promote", CurTime())
|
||||
elseif Mercury~=nil then
|
||||
return ply:GetNWInt("ranktime", 0)
|
||||
elseif CFCTime~=nil then
|
||||
return math.floor(ply:GetNW2Float("CFC_Time_TotalTime", 0))
|
||||
else
|
||||
-- Get Time
|
||||
return ply:GetNWInt( "Time_Fixed" ) + (CurTime() - ply:GetNWInt( "Time_Join" ))
|
||||
|
Loading…
Reference in New Issue
Block a user