function setTimerExecuteTimes (shared-side)
Available since version: 0.3.0
Sets how many times the timer should execute.
If execute_times is 0 or negative, the timer repeats indefinitely.
Declaration
void setTimerExecuteTimes(int timer_id, int execute_times)
Parameters
inttimer_id: Timer ID returned by setTimer.intexecute_times: How many times to execute (<= 0 means infinite).