Пример #1
0
 private void cmdShowStatistics(BasePlayer player, string command, string[] args)
 {
     if (!cachedPlayerStats.ContainsKey(player.userID))
     {
         SimplePVPStatsData.TryLoad(player.userID);
     }
     PlayerMsg(player, string.Format(msg("PlayerStatisticsMSG", player.userID), new object[] { cachedPlayerStats[player.userID].Kills, cachedPlayerStats[player.userID].Deaths, cachedPlayerStats[player.userID].KDR }));
 }
Пример #2
0
 private void OnPlayerInit(BasePlayer player) => SimplePVPStatsData.TryLoad(player.userID);