In this plugin (HuntRPG) which is not any longer maintained by anyone, i have discovered something i figure is related to EventManager.
When people die, it fails to call a hook from EventManager.
I have just started to learn about plugin development, and i must admit it is still very much for me to learn.
What i see on Eventmanager plugin page is this under tha API section:
(object) IsEventPlayer(BasePlayer player) // Returns true if the player is in a event, otherwise returns nulland in HuntRPG 1.7.9 is looks like this:
if (EventManager != null && (bool)EventManager.CallHook("isPlaying", player)) return;Can someone explain for me how i change the line in HuntRPG so it works with Eventmanager again?
I tried change to the line below, but it didnt work:
if (EventManager != null && (bool)EventManager.Call("IsEventPlayer(BasePlayer player)")) return;