View Single Post
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 09-24-2014 , 22:31   Re: [TF2] Resurrection - Respawn in Arena Mode
Reply With Quote #7

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.
__________________

Last edited by ddhoward; 09-24-2014 at 22:46.
ddhoward is offline