std_time.zh#

Variables#

const long

TIME_FRAME

const int

FRAMES_PER_SECOND

const int

SECONDS_PER_MINUTE

const int

MINUTES_PER_HOUR

Functions#

int

Hours()

int

Minutes()

int

Seconds()

int

Frames(bool percent)

int

TotalMinutes()

int

TotalSeconds()

Variable descriptions#

const long TIME_FRAME = 1L 🔗 Source


const int FRAMES_PER_SECOND = 60 🔗 Source


const int SECONDS_PER_MINUTE = 60 🔗 Source


const int MINUTES_PER_HOUR = 60 🔗 Source


Function descriptions#

int Hours() 🔗 Source

Returns the current in-game clock hours value.


int Minutes() 🔗 Source

Returns the current in-game clock minutes value.


int Seconds() 🔗 Source

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.