mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
tickRealInterval function (#3218)
* tickRate function * tickRealInterval * Forgot
This commit is contained in:
parent
3350456e76
commit
b6c0954b02
@ -78,3 +78,7 @@ end
|
||||
e2function number tickInterval()
|
||||
return engine.TickInterval()
|
||||
end
|
||||
|
||||
e2function number tickRealInterval()
|
||||
return engine.AbsoluteFrameTime()
|
||||
end
|
||||
|
@ -976,6 +976,7 @@ E2Helper.Descriptions["printCaption(sn)"] = "Emits a closed caption with the pro
|
||||
-- Time
|
||||
E2Helper.Descriptions["tickClk()"] = "DEPRECATED. Use 'event tick()' instead! Returns 1 if the current execution was caused by \"runOnTick\""
|
||||
E2Helper.Descriptions["tickInterval()"] = "Returns the time (in seconds) between each server tick"
|
||||
E2Helper.Descriptions["tickRealInterval()"] = "Returns the current time (in seconds) between each server tick"
|
||||
E2Helper.Descriptions["curtime()"] = "Returns the current game time since server-start in seconds"
|
||||
E2Helper.Descriptions["realtime()"] = "Returns the current real time since server-start in seconds"
|
||||
E2Helper.Descriptions["systime()"] = "Returns a highly accurate time (also in seconds) since the server was started. Ideal for benchmarking"
|
||||
|
Loading…
Reference in New Issue
Block a user