Timer to display a Message
#2

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.
Reply


Messages In This Thread
Timer to display a Message - by NBass - 05.04.2017, 15:51
Re: Timer to display a Message - by Toroi - 05.04.2017, 22:17

Forum Jump:


Users browsing this thread: 2 Guest(s)