1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

more plugin tweaks, added console interface!

This commit is contained in:
RaidMax
2015-08-22 01:04:30 -05:00
parent 7ca0b654ac
commit d42a329097
24 changed files with 235 additions and 166 deletions

View File

@ -77,7 +77,7 @@ namespace SamplePlugin
}
}
public class Stats : Notify
public class Stats : Plugin
{
public static StatsDB playerStats { get; private set; }
@ -108,6 +108,7 @@ namespace SamplePlugin
victimStats.Deaths++;
victimStats.KDR = victimStats.Kills / victimStats.Deaths;
playerStats.updateStats(Victim, victimStats);
}
}
@ -116,6 +117,16 @@ namespace SamplePlugin
{
playerStats = new StatsDB("stats.rm");
}
public override string Name
{
get { return "Basic Stats"; }
}
public override float Version
{
get { return 0.1f; }
}
}
public class StatsDB : Database