GetTime (script event)
From modwiki
Game class
This event operates on an instance of the game class type {{{gameclass}}}
Description
Returns the current time in seconds since the game was initialized.
Usage
float getTime()
Parameters
This script event does not accept parameters.
Examples
void weapon_pistol::Fire() { float ammoClip; next_attack = sys.getTime() + PISTOL_FIRERATE;
Notes
This is a system event and must be invoked using the sys object.

