Raised This Month: $ Target: $400
 0% 

Task Asking stuff


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Stephen
Senior Member
Join Date: Aug 2004
Old 06-06-2005 , 14:47   Task Asking stuff
Reply With Quote #1

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 ???
Stephen is offline
 



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 16:46.


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