protected override void Load() { Instance = this; Uconomy.Instance.OnBalanceUpdate += Instance_OnBalanceUpdate; Logger.Log("Plugin loaded correctly"); Logger.Log("UconomyUI free By PrincipeIan"); }
protected override void Unload() { Uconomy.Instance.OnBalanceUpdate -= Instance_OnBalanceUpdate; Instance = null; Logger.Log("Plugin unloaded correctly"); Logger.Log("UconomyUI free By PrincipeIan"); }
protected override void Load() { Instance = this; Rocket.Core.Logging.Logger.Log("Plugin loaded correctly"); Rocket.Core.Logging.Logger.Log("UconomyUI free By PrincipeIan(Edited By Teo)"); U.Events.OnPlayerConnected += Events_OnPlayerConnected; Uconomy.Instance.OnBalanceUpdate += Instance_OnBalanceUpdate; U.Events.OnPlayerDisconnected += Events_OnPlayerDisconnected; }