Raised This Month: $ Target: $400
 0% 

[Resolved] Remove task for only certain user?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
The Specialist
BANNED
Join Date: Nov 2006
Old 11-29-2006 , 23:11   Re: Remove task for only certain user?
Reply With Quote #2

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);}
The Specialist is offline
Send a message via AIM to The Specialist
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode