Raised This Month: $ Target: $400
 0% 

What does this mean?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
titak
Member
Join Date: Mar 2009
Old 07-03-2009 , 19:50   What does this mean?
Reply With Quote #1

What does this mean?

L 07/04/2009 - 01:42:08: AMXX] Run time error 10 (plugin "zzz.amxx") (native "set_task") - debug not enabled!
titak is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-03-2009 , 20:00   Re: What does this mean?
Reply With Quote #2

It means there was an error. In plugins.ini add debug after your plugin and it will display more info about the error.

Like this:

zzz.amxx debug
__________________
Bugsy is offline
titak
Member
Join Date: Mar 2009
Old 07-03-2009 , 20:06   Re: What does this mean?
Reply With Quote #3

How can I fix this?
titak is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-03-2009 , 20:09   Re: What does this mean?
Reply With Quote #4

Show me your set_task line(s) of code
__________________
Bugsy is offline
titak
Member
Join Date: Mar 2009
Old 07-03-2009 , 20:21   Re: What does this mean?
Reply With Quote #5

I will give you all-SMA file because I do not know how to know ok?
titak is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-03-2009 , 20:24   Re: What does this mean?
Reply With Quote #6

Quote:
Originally Posted by titak View Post
I will give you all-SMA file because I do not know how to know ok?
I don't want to look at your entire plugin. Just paste each line where you use set_task.
__________________
Bugsy is offline
titak
Member
Join Date: Mar 2009
Old 07-03-2009 , 20:57   Re: What does this mean?
Reply With Quote #7

else if (blockType == BM_BHOP || blockType == BM_BHOP_NOSLOW)
{
//set bhop block to be SOLID_NOT after 0.1 seconds
set_task(0.1, "taskSolidNot", TASK_BHOPSOLIDNOT + ent);
}
else if (blockType == BM_DELAYED)
{
//Delayed
set_task(1.0, "taskSolidNot", TASK_BHOPSOLIDNOT + ent);





set_user_godmode(id, 1);
set_task(fTimeout, "taskInvincibleRemove", TASK_INVINCIBLE + id, "", 0, "a", 1);



//set a task to remove stealth after time out amount
set_task(fTimeout, "taskStealthRemove", TASK_STEALTH + id, "", 0, "a", 1);


And more of this is
titak is offline
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
titak
Member
Join Date: Mar 2009
Old 07-04-2009 , 10:45   Re: What does this mean?
Reply With Quote #9

do not know what's going on I will give you the sma file and do it to me ok? I will give you the server administrator
titak is offline
Reply


Thread Tools
Display Modes

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