• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Save time

DedicatedOT

New Member
Joined
Jun 13, 2009
Messages
977
Reaction score
4
Location
USA
Anyone know how to get the time took to save in LUA?

For example, It took 2.2222s to save!

Something with os.clock()?
 
You could try like this:
Code:
local time = os.time()
saveServer() -- Dunno the name of the function
print('SS took '..time - os.time()..' mili seconds.')
 
Back
Top