are you using set_task ?
Code:
if(get_user_index()== my_player)
{
remove_task("whatever")
}
You wernt very explanatory . Do you want it done on a player from a cliient command or by his name or auth_id ? So check to make suer its the player you want then use remove_task()
Code:
remove_task
Core (amxmodx.inc)
Description
remove_task - Removes all tasks with given id.
Syntax
remove_task ( id = 0, outside = 0 )
Type
Native
Notes
If outside var is set then a task can be removed also when was set in another plugin.var fe = FindFrame("toc", top);if ((fe != null) && (chmtop.c2wtopf.jstree != null)) { if (chmtop.c2wtopf.FITEMS[chmtop.c2wtopf.pagenum] != chmtop.c2wtopf.pageid) chmtop.c2wtopf.jstree.OpenTreeNode("source/" + chmtop.c2wtopf.pageid);}