Raised This Month: $51 Target: $400
 12% 

Calling native in paused/off/non existing plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 11-07-2014 , 17:37   Calling native in paused/off/non existing plugin
Reply With Quote #1

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.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-07-2014 , 17:51   Re: Calling native in paused/off/non existing plugin
Reply With Quote #2

The AMXX Core does not have that functionality. Feel free to request it though
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 11-07-2014 , 18:50   Re: Calling native in paused/off/non existing plugin
Reply With Quote #3

What about this native?
http://www.amxmodx.org/doc/index.htm...gin_loaded.htm
klippy is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-07-2014 , 18:53   Re: Calling native in paused/off/non existing plugin
Reply With Quote #4

Quote:
Originally Posted by KliPPy View Post
That doesn't prevent the AMXX Core from throwing an error stating that the function couldn't be found
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 11-08-2014 , 00:39   Re: Calling native in paused/off/non existing plugin
Reply With Quote #5

What about creating a cvar and use get_cvar_pointer?

Last edited by RateX; 11-08-2014 at 02:28.
RateX 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 22:29.


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