Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 KB | None | 0 0
  1.                     if (info.damageType == Rust.DamageType.Bullet || info.damageType == Rust.DamageType.Slash)
  2.                     {
  3.                         string Out = this.displayName + "was killed by " + player.displayName + " with " + info.Weapon.info.displayname
  4.                             + " to " + StringPool.Get(info.HitBone) + " from " + Vector3.Distance(player.transform.position, this.transform.position).ToString("F2");
  5.                         ConsoleSystem.Broadcast("chat.add " + "Server" + " " + StringExtensions.QuoteSafe(Out));
  6.                     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement