Ejemplo n.º 1
0
 /// <summary>
 /// Increases the specified statistic by one.
 /// </summary>
 /// <param name="PluginName">The name of your plugin.</param>
 /// <param name="Statistic">The statistic to increase.</param>
 public static void AddCountToStatistic(string PluginName, string Statistic)
 {
     if (!ProtectedStatistics.Contains(Statistic.ToLower()))
     {
         Game.LogTrivial("LSPDFR+ API: Plugin is increasing statistic: " + Statistic);
         StatisticsCounter.AddCountToStatistic(Statistic, PluginName);
     }
 }