Raised This Month: $ Target: $400
 0% 

What does this mean?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-03-2009 , 21:20   Re: What does this mean?
Reply With Quote #8

PHP Code:
set_task(fTimeout"taskInvincibleRemove"TASK_INVINCIBLE id""0"a"1);

set_task(fTimeout"taskStealthRemove"TASK_STEALTH id""0"a"1); 
If you are not passing a parameter(s), use an underscore not "". Also, you are passing the repeat flag "a" but you are only repeating one time so its not needed. Suppose you wanted to repeat 10 times, you would do this:

PHP Code:
set_taskfTimeout "taskStealthRemove" TASK_STEALTH id __"a" 10 ); 
For doing what it looks like you are trying to do, this will work:

PHP Code:
set_task(fTimeout"taskInvincibleRemove"TASK_INVINCIBLE id );

set_task(fTimeout"taskStealthRemove"TASK_STEALTH id ); 
__________________

Last edited by Bugsy; 07-03-2009 at 21:46.
Bugsy 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 15:30.


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