GetTimerInterval Shared function

From Gothic 2 Online: Wiki
Jump to navigation Jump to search

This function was added in version: 0.0.0

NOTE! Timers are responsible for performing specific code, after specified time.

Function gets timer interval.


int getTimerInterval(int id)

Required Arguments

  • id: The id of the timer


Current inverval of the timer (in miliseconds).


local id = setTimer(function()
}, 1000, 0);

print(getTimerInterval(id)) // this will print 1000

Related functions