- Timestamp:
- Jul 27, 2014, 11:30:15 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/TelnetCommands/Kill.cs
r112 r113 20 20 public override void Run (string[] _params) 21 21 { 22 m_Console.SendResult("Command \"kill\" is currently not implemented!"); 23 return; 24 /* 22 25 try { 23 26 if (_params.Length != 1) { … … 33 36 } 34 37 35 CommonMappingFunctions.GetEntityPlayer(ci).Kill(null); 38 EntityPlayer p = CommonMappingFunctions.GetEntityPlayer(ci); 39 p.Stats.Health.Value = 1; 40 p.Stats.SendAll(); 36 41 m_Console.SendResult ("Killed player " + _params[0]); 37 42 } catch (Exception e) { 38 43 Log.Out ("Error in Kill.Run: " + e); 39 } 44 }*/ 40 45 } 41 46 }
Note:
See TracChangeset
for help on using the changeset viewer.