Raised This Month: $ Target: $400
 0% 

Task IDs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
- Billy The Kid -
Member
Join Date: Oct 2006
Old 05-05-2007 , 03:50   Task IDs
Reply With Quote #1

Are IDs that are assigned through set_task function in one plug-in used only for that plug-in - I just want to know if they can be messed up externally (use of remove_task(id) in another plug-in)? I wouldn't want that to happen...
__________________
- Billy The Kid - is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-05-2007 , 04:25   Re: Task IDs
Reply With Quote #2

Quote:
/* Removes all tasks with given id. If outside var is
* set then a task can be removed also when
* was set in another plugin. */
native remove_task(id = 0, outside = 0);
So basically if you don't want to mess with other plugins remove_task(id) is ok. And in other case use second parameter == 1.
VEN is offline
- Billy The Kid -
Member
Join Date: Oct 2006
Old 05-05-2007 , 07:53   Re: Task IDs
Reply With Quote #3

Thx, I supposed so... ;)
__________________
- Billy The Kid - is offline
Reply



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:39.


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