Fakemeta function:
Description: Returns time in seconds (float) since the game started. Rather the same as tickcount(). It seems to not be used by the mod (it's useless anyway).
Usage:
PHP Code:
new Float:flElapsedTime = Float:engfunc(EngFunc_Time)
server_print("%.2f seconds passed since the server started", flElapsedTime)
PHP Code:
new Float:flStartTime = Float:engfunc(EngFunc_Time)
MyVeryBigFunction()
AnotherHugeFunction()
SpamArkshineSteamChat()
server_print("Execution time: %f", Float:engfunc(EngFunc_Time) - flStartTime)
Parameters:no params for this function
Another not really important function, but as many others, it's unknown for many scripters.
__________________