std_time.zh#
Variables#
const long |
|
const int |
|
const int |
|
const int |
Functions#
Variable descriptions#
const long TIME_FRAME = 1L 🔗 Source
const int FRAMES_PER_SECOND = 60 🔗 Source
const int SECONDS_PER_MINUTE = 60 🔗 Source
Function descriptions#
Returns the current in-game clock hours value.
Returns the current in-game clock minutes value.
Returns the current in-game clock seconds value.
int Frames(bool percent) 🔗 Source
param percent If set true, it will return 0-99, as percentage of a second (i.e. milliseconds)
Returns the number of frames needed to tick the next second.
int TotalMinutes() 🔗 Source
Returns the total time, in minutes, that a player has been playing a quest.
int TotalSeconds() 🔗 Source
Returns the total time, in seconds, that a player has been playing a quest.