I had a code like this aswell and a guy told me to use a function like that:
PHP Code:
new const Float:fTime[] = { 1.0, 1.1, 3.0, 5.0, 10.0, 13.0 }
set_task(fTime[iCounts], "function", bla bla bla)
I think is something like this.
And you can use both of formats on case 2, play or spk are the same.
Edit: Sorry, I've added 5.0 on
set_task(), It should be 1.0.
__________________