eactly what master said, you removed the jughud task, but if yourt repeated_task() function is a reapeated task, then as soon as you stop it, the task starts a new one. You will have to remove the repeated task. Or have a global var and set it to false. and everythime you are about to make a hud check that var and only start the hud task if it is true. that way you can control the flow of the hudmessage via varriable.
i mean:
Code:
new bool:var = true;
//...
if(var) {
set_task(0.1,"jugghud",TASKID_JUGGHUD);
}
//...
if(task_exists(TASKID_JUGGHUD))
remove_task(TASKID_JUGGHUD)
var = false;
see what I mean, that kinda deal-eo.
__________________