void API_OnChat(Player Player, string Message) { API.WriteLine(Player.Name + ": " + Message); }
public Stats_(Player a) { Mem = new RemoteMemory(a.Mem.Process); Player = a; }
void API_OnChat(Player Player, string Message) { API.WriteLine(Player.Name + ": " + Message); }
public Stats_(Player a) { Mem = new RemoteMemory(a.Mem.Process); Player = a; }
//I'm so terribly sorry to do be doing this way, but there's no other way to invoke a event outside of it's class internal void TriggerOnChat(Player player, string message) { if(OnChat != null) OnChat(player, message); //PluginEvent(OnChat, player, message); }