Raised This Month: $ Target: $400
 0% 

removing task


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cstrike37
Member
Join Date: Jan 2012
Old 08-23-2012 , 03:28   removing task
Reply With Quote #1

How do I remove task?

PHP Code:
    set_task1.0"predator_ringloop"0""0"b")
    
set_taskget_cvar_float("predator_aurafrequency"), "predator_auraloop"0""0"b"
cstrike37 is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 08-23-2012 , 03:40   Re: removing task
Reply With Quote #2

remove_task(0)
jimaway is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 08-23-2012 , 06:51   Re: removing task
Reply With Quote #3

You may set a task id to prevent 'errors'.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-23-2012 , 19:52   Re: removing task
Reply With Quote #4

Quote:
Originally Posted by jimaway View Post
remove_task(0)
That won't work correctly if you have other tasks without IDs. It will remove them all (of the ones without an ID).
__________________
fysiks is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 08-24-2012 , 06:57   Re: removing task
Reply With Quote #5

well then he should set some other id for those tasks
jimaway 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 05:47.


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