PtokaX wiki

Hub (server) for Direct Connect

User Tools

Site Tools


luaapi:px_tmrman

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
luaapi:px_tmrman [14/11/2013 12:34] ppkluaapi:px_tmrman [16/06/2015 14:03] (current) ppk
Line 1: Line 1:
-====== Timer manager metatable functions ======+====== Timer manager table functions ======
  
 ^ Function ^ Description ^ ^ Function ^ Description ^
-|TmrMan.AddTimer(nTimerInterval)|Add new timer for script. nTimerInterval is in ms. Return nil when failed or uTimerId when success.| +|TmrMan.AddTimer(iTimerInterval)|Add new timer for script. iTimerInterval is in ms. Return nil when failed or uTimerId when success.| 
-|TmrMan.AddTimer(nTimerInterval, fFunction)|Add new timer for script. nTimerInterval is in ms. fFunction is Lua function called by this timer. Return nil when failed or uTimerId when success.| +|TmrMan.AddTimer(iTimerInterval, fFunction)|Add new timer for script. iTimerInterval is in ms. fFunction is Lua function called by this timer. 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.AddTimer(iTimerInterval, sFunctionName)|Add new timer for script. iTimerInterval 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.| |TmrMan.RemoveTimer(uTimerId)|Remove timer with given ID from script.|
  
luaapi/px_tmrman.1384432495.txt.gz · Last modified: 14/11/2013 12:34 by ppk