mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
server clean
This commit is contained in:
@@ -34,6 +34,12 @@ end
|
||||
function tick_to_min (tick)
|
||||
return math.floor(tick/(3600*game.speed))
|
||||
end
|
||||
--used to make uuids but may be useful else where
|
||||
function string.tohex(str)
|
||||
return (str:gsub('.', function (c)
|
||||
return string.format('%02X', string.byte(c))
|
||||
end))
|
||||
end
|
||||
--I stole this from somewhere a long time ago but this and the other two functions convert a table into a string
|
||||
function table.val_to_str ( v )
|
||||
if "string" == type( v ) then
|
||||
|
||||
Reference in New Issue
Block a user