I have written a plugin to compliment DOD gungame (v2.00B3.7). For convenience of my plugin I created a native in the gungame_base so I could retreive a value (ggn_get_level).
So, my question is: Is there a way to find out if my native exists so that if someone without my version of gungame_base and gungame.inc can still use it?
Effectively I want to do this:
PHP Code:
if(native_exists("ggn_get_level"))
level = ggn_get_level(id)
else
level = -1
I've looked at
native filtering and it looks like it would only work to get the plugin to load. I need it to work like the cstrike example but with a specific native and not a module.