Hassan Emprator
2019-07-08, 09:49 AM
انا عارف ان الموضوع تافه اصلا انا نزلته شكل وخلاص يله نبدا
اول حاجه هتفتح كلاس ورلد وهتبحث عن
private void CharactersCallback(GameState client, int time)
تحت القوص علطول هتحط دا
#region Effect market Equipment
if (client.Entity.MapID == 1036)
{
if (Kernel.GetDistance(client.Entity.X, client.Entity.Y, 184, 205) < 17 && !client.Effect)
{
client.Effect = true;
if (client.Entity.MapID == 1036)
{
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
floorItem.ItemID = 812;
floorItem.MapID = 1036;
floorItem.X = 184;
floorItem.Y = 205;
floorItem.Type = Network.GamePackets.FloorItem.Effect;
client.Send(floorItem);
}
}
else
{
if (Kernel.GetDistance(client.Entity.X, client.Entity.Y, 184, 205) > 17)
{
client.Effect = false;
}
}
}
#endregion
بالتوفيق
اول حاجه هتفتح كلاس ورلد وهتبحث عن
private void CharactersCallback(GameState client, int time)
تحت القوص علطول هتحط دا
#region Effect market Equipment
if (client.Entity.MapID == 1036)
{
if (Kernel.GetDistance(client.Entity.X, client.Entity.Y, 184, 205) < 17 && !client.Effect)
{
client.Effect = true;
if (client.Entity.MapID == 1036)
{
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
floorItem.ItemID = 812;
floorItem.MapID = 1036;
floorItem.X = 184;
floorItem.Y = 205;
floorItem.Type = Network.GamePackets.FloorItem.Effect;
client.Send(floorItem);
}
}
else
{
if (Kernel.GetDistance(client.Entity.X, client.Entity.Y, 184, 205) > 17)
{
client.Effect = false;
}
}
}
#endregion
بالتوفيق