05.04.2017, 22:17
Create a variable for the timer count, every time the function executes, add += 1 to the variable, check on top of the function if the variable is higher or equal to 10, if so, reset the variable and kill the timer.
That's how i'd do it.
That's how i'd do it.