std_time.zh#
Variables#
const long |
|
const int |
|
const int |
|
const int |
Functions#
int |
|
int |
|
int |
|
int |
time::Frames(bool percent) |
int |
|
int |
Variable descriptions#
const long time::TIME_FRAME = 1L 🔗 Source
const int time::FRAMES_PER_SECOND = 60 🔗 Source
const int time::SECONDS_PER_MINUTE = 60 🔗 Source
Function descriptions#
Returns the current in-game clock hours value.
int time::Minutes() 🔗 Source
Returns the current in-game clock minutes value.
int time::Seconds() 🔗 Source
Returns the current in-game clock seconds value.
int time::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 time::TotalMinutes() 🔗 Source
Returns the total time, in minutes, that a player has been playing a quest.
int time::TotalSeconds() 🔗 Source
Returns the total time, in seconds, that a player has been playing a quest.