Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo n.º 5
0
 public PluginEvents(Better079Plugin better079Plugin)
 {
     this.plugin = better079Plugin;
 }