Changeset 174 for binary-improvements/7dtd-server-fixes/src/CustomCommands
- Timestamp:
- Sep 7, 2014, 8:16:54 PM (10 years ago)
- Location:
- binary-improvements/7dtd-server-fixes/src/CustomCommands
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/CustomCommands/ShowInventory.cs
r145 r174 38 38 PersistentData.Inventory inv = p.Inventory; 39 39 40 m_Console.SendResult ("Belt of player :");40 m_Console.SendResult ("Belt of player " + p.Name + ":"); 41 41 for (int i = 0; i < inv.belt.Count; i++) { 42 42 if (inv.belt [i] != null) … … 44 44 } 45 45 m_Console.SendResult (string.Empty); 46 m_Console.SendResult ("Bagpack of player :");46 m_Console.SendResult ("Bagpack of player " + p.Name + ":"); 47 47 for (int i = 0; i < inv.bag.Count; i++) { 48 48 if (inv.bag [i] != null) -
binary-improvements/7dtd-server-fixes/src/CustomCommands/TeleportPlayer.cs
r163 r174 54 54 p.Entity.position.y = y; 55 55 p.Entity.position.z = z; 56 NetPackage_EntityPosAndRot pkg = new NetPackage_EntityPosAndRot (p.Entity);56 NetPackage_EntityPosAndRot pkg = new NetPackage_EntityPosAndRot (p.Entity); 57 57 58 p.ClientInfo.netConnection [0].mdv0005(pkg);58 p.ClientInfo.netConnection [0].Send (pkg); 59 59 } 60 60 } catch (Exception e) { … … 62 62 } 63 63 } 64 64 65 } 65 66 }
Note:
See TracChangeset
for help on using the changeset viewer.