Object that represents a player
Inheritance: RemoteObject
Exemple #1
0
 void API_OnChat(Player Player, string Message)
 {
     API.WriteLine(Player.Name + ": " + Message);
 }
Exemple #2
0
 public Weapons_(Player owner)
 {
     Player = owner;
 }
Exemple #3
0
 public World_(Player owner)
 {
     Player = owner;
 }
Exemple #4
0
 public Stats_(Player a)
 {
     Mem = new RemoteMemory(a.Mem.Process);
     Player = a;
 }
Exemple #5
0
Fichier : API.cs Projet : jariz/jZm
 //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);
 }