public void FriendlyFire(MyFriendlyFireEnum type) { var msg = new MyEventFriendlyFire(); msg.FriendlyFireType = type; Peers.SendToAll(ref msg, NetDeliveryMethod.ReliableOrdered, 0); }