Name | Type | Deprecated | Secure | Description |
Inspect.Time.Frame | function | | | The game time of the last frame. This function's return value will not change until the next frame. |
Inspect.Time.Real | function | | | A high-resolution realtime timer. Not measured in the same timespace as Inspect.Time.Frame. |
Inspect.Time.Server | function | | | Returns the current server time. |
The game time of the last frame. This function's return value will not change until the next frame.
Usage:
time = Inspect.Time.Frame() |
Parameter | Type | Datatype | Description |
time | result | number | Time in seconds. Counted from an arbitrary point in the past. Guaranteed to be non-negative. |
A high-resolution realtime timer. Not measured in the same timespace as Inspect.Time.Frame.
Usage:
time = Inspect.Time.Real() |
Parameter | Type | Datatype | Description |
time | result | number | Time in seconds. Counted from an arbitrary point in the past. Guaranteed to be non-negative. |
Returns the current server time.
Usage:
time = Inspect.Time.Server() |
Parameter | Type | Datatype | Description |
time | result | number | Server time, as seconds from the Unix epoch. |