View Single Post
ZaX
Senior Member
Join Date: Jan 2015
Old 08-01-2020 , 16:53   Re: Run time error 4: index out of bounds
Reply With Quote #5

countdown[33] holds 32 indexes, so you need to get users proper id in the task callback function
Code:
public task_callback(taskid)
{
    new id = taskid - task
}
Also cooldown will hold only 1 value and it will change everytime the function gets called.
ZaX is offline