Exemplo n.º 1
0
        public bool MarkPossessed(string marker = "")
        {
            if (marker.Length > 0)
            {
                Player controller = PlayerInfo.FindExact(marker);
                if (controller == null)
                {
                    return(false);
                }
                marker = " (" + controller.color + controller.name + color + ")";
            }

            Entities.GlobalDespawn(this, true);
            Entities.GlobalSpawn(this, true, marker);
            return(true);
        }
Exemplo n.º 2
0
 public static void GlobalSpawn(Player p, ushort x, ushort y, ushort z,
                                byte rotx, byte roty, bool self, string possession = "")
 {
     Entities.GlobalSpawn(p, x, y, z, rotx, roty, self, possession);
 }
Exemplo n.º 3
0
 public static void GlobalSpawn(Player p, bool self, string possession = "")
 {
     Entities.GlobalSpawn(p, self, possession);
 }