I need help with the set_task function. I working on a plugin that regenerates armor for certain people until it gets to 100. The function works fine the first round but on the second round it doesnt regenerate at a steady rate.
Code:
new parm[2];
parm[0] = id;
parm[1] = 0;
set_task(2.0, "droid_repair", 50+id, parm, 2, "b");
Please help!