Ejemplo n.º 1
0
 public override bool OnChatParseCommand(string command, string argList, int connection)
 {
     switch (command)
     {
     case "gibitemsplox":
         alex.SpawnOn(LocalGame, LocalPlayer);
         GordonFreeman.SpawnOn(LocalGame, LocalPlayer);
         InstaRepair.SpawnOn(LocalGame, LocalPlayer);
         Weapon.SpawnOn(LocalGame, LocalPlayer);
         WeaponOne.SpawnOn(LocalGame, LocalPlayer);
         Hattus.SpawnOn(LocalGame, LocalPlayer);
         return(false); // Do not check vanilla commands
     }
     return(true);      // Do check vanilla commands
 }