AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Set Error to another plugin. (https://forums.alliedmods.net/showthread.php?t=87730)

AntiBots 03-15-2009 18:04

Set Error to another plugin.
 
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 )

ConnorMcLeod 03-16-2009 02:40

Re: Set Error to another plugin.
 
You mean from a dynamic native ?

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

Will usually use AMX_ERR_NATIVE as 1st param.

AntiBots 03-16-2009 12:12

Re: Set Error to another plugin.
 
Yes i know that native. But i need to stop the plugin exection and set an error.

ConnorMcLeod 03-16-2009 14:15

Re: Set Error to another plugin.
 
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...


All times are GMT -4. The time now is 08:55.

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