Code:
if (Features.GuildWars.Ocupado == true)
{
Game.Character J = Game.World.CharacterFromName(User.Enemigo);
int InMap = 0;
foreach (DictionaryEntry DE in World.H_Chars)
{
Character Entity = (Character)DE.Value;
if (Entity.Loc.Map == 1707)
{
InMap++;
}
if (InMap == 1 || InMap >= 3)
{
J.Teleport(1002, 406, 400);
User.Teleport(1002, 399, 400);
User.Protection = false;
J.Protection = false;
User.Luchando = false;
J.Luchando = false;
User.PkPuntos = 0;
J.PkPuntos = 0;
User.Enemigo = "";
J.Enemigo = "";
User.CPs += User.Apuesta;
J.CPs -= User.Apuesta;
Features.GuildWars.Ocupado = false;
User.MyClient.LocalMessage(2011, "One Of Ya Have Left So the Tournament Whas Canceled Or there whas More than 2 Players");
J.MyClient.LocalMessage(2011, "One Of Ya Have Left So the Tournament Whas Canceled Or there whas more than 2 Players");
}
}
}






