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 01:56] – Added: AddTimer with fFunction as second param 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(nTimerIntervalsFunctionName)|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(iTimerIntervalfFunction)|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(nTimerIntervalfFunction)|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(iTimerIntervalsFunctionName)|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.1384394198.txt.gz · Last modified: 14/11/2013 01:56 by ppk