Beispiel #1
0
        private void API_onPlayerDeath(Client player, NetHandle entityKiller, int weapon)
        {
            Dictionary <string, VoiceLocationInformation> notused = null;

            PlayerHears.TryRemove(player.handle.Value, out notused);
            _voiceServer.MutePlayer(player.getData("VOICE_ID"), "_ALL_");
        }
 private void API_onPlayerDeath(Client player, NetHandle entityKiller, int weapon)
 {
     PlayerHears.TryRemove(player.GetCharacterId(), out var notused);
     _voiceServer.MutePlayer(player.GetData("VOICE_ID", 0L), "_ALL_");
 }