luaapi:px_tmrman
This is an old revision of the document!
Timer manager metatable functions
Function | Description |
---|---|
TmrMan.AddTimer(nTimerInterval) | Add new timer for script. nTimerInterval is in ms. Return nil when failed or uTimerId when success. |
TmrMan.AddTimer(nTimerInterval, sFunctionName) | Add new timer for script. nTimerInterval is in ms. sFunctionName is name of function called by this timer. Return nil when failed or uTimerId when success. |
TmrMan.RemoveTimer(uTimerId) | Remove timer with given ID from script. |
luaapi/px_tmrman.1350188773.txt.gz · Last modified: 14/10/2012 04:26 by ppk