View Single Post
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 09-28-2018 , 04:10   Re: SetNTVOptional() isn't being called automatically?
Reply With Quote #5

Quote:
Originally Posted by Fyren View Post
Using your first block (with an #endif and native void Shavit_Rankings_DeleteMap();) and the following code, the plugin loads fine for me:

PHP Code:
#undef REQUIRE_PLUGIN
#include "shavit"

public void OnPluginStart() {
        
int x 0;
        if (
xShavit_Rankings_DeleteMap();

That's just weird.. it doesn't for me from the shavit-core plugin, but it does run it from other plugins. Is there a limit for how many plugins can use a SharedPlugin? I have multiple plugins' natives in a single .inc

Edit: I found that the issue is gone as soon as I remove the file = "file name", part in the SharedPlugin struct. Is that a bug?
__________________
retired

Last edited by shavit; 09-28-2018 at 04:20.
shavit is offline