Esempio n. 1
0
 public override void OnEnabled()
 {
     instance = this;
     PLEV     = new PluginEvents(this);
     Exiled.Events.Handlers.Server.RoundStarted += PLEV.RoundStart;
     Exiled.Events.Handlers.Player.Spawning     += PLEV.PlayerSpawn;
 }
Esempio n. 2
0
 public override void OnDisabled()
 {
     Exiled.Events.Handlers.Server.RoundStarted -= PLEV.RoundStart;
     Exiled.Events.Handlers.Player.Spawning     -= PLEV.PlayerSpawn;
     PLEV     = null;
     instance = null;
 }
Esempio n. 3
0
 public override void OnEnabled()
 {
     instance = this;
     PLEV     = new PluginEvents(this);
     Exiled.Events.Handlers.Server.RoundStarted          += PLEV.RoundStart;
     Exiled.Events.Handlers.Player.Spawning              += PLEV.PlayerSpawn;
     Exiled.Events.Handlers.Server.SendingConsoleCommand += PLEV.ConsoleCmd;
     Exiled.Events.Handlers.Scp079.GainingExperience     += PLEV.ExpGain;
 }
Esempio n. 4
0
 public override void OnDisabled()
 {
     Exiled.Events.Handlers.Server.RoundStarted          -= PLEV.RoundStart;
     Exiled.Events.Handlers.Player.Spawning              -= PLEV.PlayerSpawn;
     Exiled.Events.Handlers.Server.SendingConsoleCommand -= PLEV.ConsoleCmd;
     Exiled.Events.Handlers.Scp079.GainingExperience     -= PLEV.ExpGain;
     PLEV     = null;
     instance = null;
 }
Esempio n. 5
0
 public PluginEvents(Better079Plugin better079Plugin)
 {
     this.plugin = better079Plugin;
 }