Add Utils.Seconds and Utils.Minutes
This commit is contained in:
@@ -75,3 +75,12 @@ end
|
|||||||
Utils.TableToArray = function(luaTable)
|
Utils.TableToArray = function(luaTable)
|
||||||
return Internal.TableToArray(luaTable)
|
return Internal.TableToArray(luaTable)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Utils.Seconds = function(seconds)
|
||||||
|
local TicksPerSecond = 25
|
||||||
|
return seconds * TicksPerSecond
|
||||||
|
end
|
||||||
|
|
||||||
|
Utils.Minutes = function(minutes)
|
||||||
|
return Utils.Seconds(minutes * 60)
|
||||||
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user