FANDOM




Description

Get the current system time, in milliseconds.

inline int DXScriptFunction::rebindKey(lua_State *_L)

Parameters

Type Name Description
lua_State* _L The current state of the LUA library.

Returns

Integer - the number of results. In this case, 1 - the current system time in milliseconds. This function is provided due to the fact LUA's implementation of 'os.time' has lowest resolution of seconds - not suitable for games!

LUA Function Defined as:

currentTimeMillis( )