KillTimer 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 kills existing timer.


int killTimer(id)

Required Arguments

  • id: The id of the timer.


local id = setTimer(function()
	print("timer per sec"); // this output print will be shown only once
}, 1000, 0);


Related functions