Raised This Month: $ Target: $400
 0% 

Set Error to another plugin.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 03-15-2009 , 18:04   Set Error to another plugin.
Reply With Quote #1

Well i need somelike set_fail_state but for other plugin. I have the plugin id.

Thanks.

PS: or pause ( Block the plugin with error msg )
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-16-2009 , 02:40   Re: Set Error to another plugin.
Reply With Quote #2

You mean from a dynamic native ?

http://www.amxmodx.org/funcwiki.php?...rror&go=search

Will usually use AMX_ERR_NATIVE as 1st param.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 03-16-2009 , 12:12   Re: Set Error to another plugin.
Reply With Quote #3

Yes i know that native. But i need to stop the plugin exection and set an error.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-16-2009 , 14:15   Re: Set Error to another plugin.
Reply With Quote #4

If you don't want to use "pause" native, you can register a fake native in the plugin you want, and call this native would call set_fail_state native..., i know this method is terrible but...
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 08:55.


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