Returns the uptime of the server in seconds (to at least 4 decimal places)
This is a synchronised value and affected by various factors such as host_timescale (or game.GetTimeScale) and the server being paused - either by sv_pausable or all players disconnecting.
You should use this function for timing in-game events but not for real-world events.
This is NOT easy as it sounds to fix in the engine, so please refrain from posting issues about this
Render Time: 28ms
| Session | 0 |
| DB GetPage | 3 |
| Generate Html | 9 |
| SaveChanges | 8 |
| Render Body | 0 |
| Render Sidebar | 6 |
Rust
Steamworks
Wiki Help
Internal