In the .inc file, you should replace REQUIRE_PLUGINS with the more correct REQUIRE_PLUGIN. Furthermore, you should add this to the file:
PHP Code:
#if !defined REQUIRE_PLUGIN
public __pl_resurrect_SetNTVOptional() {
MarkNativeAsOptional("Resurrect_Enable");
MarkNativeAsOptional("Resurrect_IsRunning");
}
#endif
Also, it seems that Resurrect_Enable(false) and Resurrect_Enable(true) are functionally identical. The native appears to completely ignore all parameters, only working to set resurrect_enabled to 1 on use.
__________________