Sorry for double post, is in this case the module and native filter only used because of the externaly natives? i think yes, but i want to be sure
PHP Code:
public plugin_natives() {
register_library("zp50_class_tyrant")
register_native("zp_class_tyrant_get", "native_class_tyrant_get")
register_native("zp_class_tyrant_set", "native_class_tyrant_set")
register_native("zp_class_tyrant_get_count", "native_class_tyrant_get_count")
set_module_filter("module_filter")
set_native_filter("native_filter")
}
public module_filter(const module[])
{
if (equal(module, LIBRARY_GRENADE_FROST) || equal(module, LIBRARY_GRENADE_FIRE))
return PLUGIN_HANDLED;
return PLUGIN_CONTINUE;
}
public native_filter(const name[], index, trap)
{
if (!trap)
return PLUGIN_HANDLED;
return PLUGIN_CONTINUE;
}
__________________