AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Calling native in paused/off/non existing plugin (https://forums.alliedmods.net/showthread.php?t=251198)

GuskiS 11-07-2014 17:37

Calling native in paused/off/non existing plugin
 
Hello guys :)
I was wondering is there a way to stop/prevent native calling in paused/off/non existing plugin? For example, I make a stock in which I check if plugin is enabled, if yes - execute native, if not, do nothing. I tried that with simple check but it still gave me error of calling non existing function.

YamiKaitou 11-07-2014 17:51

Re: Calling native in paused/off/non existing plugin
 
The AMXX Core does not have that functionality. Feel free to request it though

klippy 11-07-2014 18:50

Re: Calling native in paused/off/non existing plugin
 
What about this native?
http://www.amxmodx.org/doc/index.htm...gin_loaded.htm

YamiKaitou 11-07-2014 18:53

Re: Calling native in paused/off/non existing plugin
 
Quote:

Originally Posted by KliPPy (Post 2221526)

That doesn't prevent the AMXX Core from throwing an error stating that the function couldn't be found

RateX 11-08-2014 00:39

Re: Calling native in paused/off/non existing plugin
 
What about creating a cvar and use get_cvar_pointer?


All times are GMT -4. The time now is 17:43.

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