protected override void UnhookEventHandlers()
        {
            OnPlayerMoveEvent.Unregister(HandlePlayerMove);
            OnPlayerSpawningEvent.Unregister(HandlePlayerSpawning);
            OnJoinedLevelEvent.Unregister(HandleOnJoinedLevel);
            OnGettingMotdEvent.Unregister(HandleGettingMotd);

            base.UnhookEventHandlers();
        }
Beispiel #2
0
        public override void Unload(bool shutdown)
        {
            OnGettingMotdEvent.Unregister(HandleGettingMOTD);

            Command.Unregister(Command.Find("Crouch"));
        }