Example #1
0
        protected override void OnMsgClientKill(BasePlayer player, GameMsg_ClKill message)
        {
            if (GameController.CanSelfKill(player) && player.LastKillTick + Server.TickSpeed * 3 > Server.Tick)
            {
                return;
            }

            player.LastKillTick = Server.Tick;
            player.KillCharacter(BasePlayer.WeaponSelf);
        }
Example #2
0
 protected abstract void OnMsgClientKill(BasePlayer player, GameMsg_ClKill message);