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

Almost finished moving Webfront to a plugin.

This commit is contained in:
RaidMax
2015-08-21 20:11:35 -05:00
parent f4016f6691
commit 7af9c31ea0
26 changed files with 252 additions and 939 deletions

View File

@ -65,7 +65,7 @@ namespace SamplePlugin
}
#endif
public class StatCommand: Command
public class StatCommand : Command
{
public StatCommand() : base("stats", "view your stats. syntax !stats", "xlrstats", Player.Permission.User, 0, false) { }
@ -77,13 +77,12 @@ namespace SamplePlugin
}
}
public class Stats : EventNotify
public class Stats : Notify
{
public static StatsDB playerStats { get; private set; }
public override void onEvent(Event E)
{
Console.WriteLine("event type is " + E.Type);
if (E.Type == Event.GType.Kill)
{
Player Killer = E.Origin;