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); }
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); }
public static void GlobalSpawn(Player p, bool self, string possession = "") { Entities.GlobalSpawn(p, self, possession); }