Well i have set_task and remove_task in mine plugins (many btw)
NOW.
I binded an cmd to remove_task(id)
BUT now it removes all the set_task(id) stuff.
I quess mine problem is that i have multiple IDs to set_task.
Quote:
//Invisible User
public function(id)
{
set_task(0.1, "function1", id, _, _, "b", 255);
return 1;
}
public function1(id)
{
//Function;
return 1;
}
public function0(id)
{
remove_task(id)
return 1;
}
public function1+(id)
{
set_task(0.5, "function1++", id, _, _, "b", 255);
return 1;
}
public function1++(id)
{
//Function working here
//function working here
return 1;
}
public function0+(id)
{
remove_task(id)
return 1;
}
|
SO how do i change the IDs so when i type in console "function0" that it actually and only STOPS 1 Task running ???