|
المشاركات 83 |
+التقييم 0.05 |
تاريخ التسجيل Apr 2020 |
الاقامة |
نظام التشغيل |
رقم العضوية 3692 |
private void WorldTournaments(int time)
#region GuildWar
if (GuildWar.IsWar)
{
if (Time32.Now > GuildWar.ScoreSendStamp.AddSeconds(3))
{
GuildWar.ScoreSendStamp = Time32.Now;
GuildWar.SendScores();
}
}
if ((Now64.Hour >= 00 && Now64.Hour <= 21) && Now64.DayOfWeek == DayOfWeek.Sunday)
{
if (!GuildWar.IsWar)
{
GuildWar.Start();
foreach (Client.GameState client in Kernel.GamePool.Values)
{
if (client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Entity.Dead)
{
EventAlert alert = new EventAlert
{
StrResID = 10515,
Countdown = 60,
UK12 = 1
};
client.Entity.StrResID = 10515;
client.Send(alert);
}
}
}
}
if (GuildWar.IsWar)
{
if (Now64.Hour == 22 && Now64.Second <= 00)
{
GuildWar.Flame10th = false;
GuildWar.End();
}
}
#endregion
#region GuildWar
if ((Now64.Hour == 21 && Now64.Minute == 00 && Now64.Second == 00) && (Now64.DayOfWeek == DayOfWeek.Sunday))
{
Kernel.SendWorldMessage(new Message("Guild War now work will end at 22:00 Server time have Chance To Get [500.000 Cps] !", Color.White, Message.BroadcastMessage), Program.Values);
foreach (var client in Program.Values)
client.MessageBox(" Guild War now work will end at 22:00 Server time?",
p => { p.Entity.Teleport(1002, 224, 237); }, null, 20);
}
#endregion
Kernel.SendWorldMessage(new Message("GUildWar has began! ]", Color.Red, Message.Center), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("GuildWar Started Would You Like To join?",
p => { p.Entity.Teleport(1002, 321, 255); }, null);
private void WorldTournaments(int time)
#region GuildWar
if (GuildWar.IsWar)
{
if (Time32.Now > GuildWar.ScoreSendStamp.AddSeconds(3))
{
GuildWar.ScoreSendStamp = Time32.Now;
GuildWar.SendScores();
}
}
if ((Now64.Hour >= 00 && Now64.Hour <= 21) && Now64.DayOfWeek == DayOfWeek.Sunday)
{
if (!GuildWar.IsWar)
{
GuildWar.Start();
foreach (Client.GameState client in Kernel.GamePool.Values)
{
if (client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Entity.Dead)
{
EventAlert alert = new EventAlert
{
StrResID = 10515,
Countdown = 60,
UK12 = 1
};
client.Entity.StrResID = 10515;
client.Send(alert);
}
}
}
}
if (GuildWar.IsWar)
{
if (Now64.Hour == 22 && Now64.Second <= 00)
{
GuildWar.Flame10th = false;
GuildWar.End();
}
}
#endregion
#region GuildWar
if ((Now64.Hour == 21 && Now64.Minute == 00 && Now64.Second == 00) && (Now64.DayOfWeek == DayOfWeek.Sunday))
{
Kernel.SendWorldMessage(new Message("Guild War now work will end at 22:00 Server time have Chance To Get [500.000 Cps] !", Color.White, Message.BroadcastMessage), Program.Values);
foreach (var client in Program.Values)
client.MessageBox(" Guild War now work will end at 22:00 Server time?",
p => { p.Entity.Teleport(1002, 224, 237); }, null, 20);
}
#endregion
kernel.sendworldmessage(new message("guildwar has began! ]", color.red, message.center), program.values);
foreach (var client in program.values)
client.messagebox("guildwar started would you like to join?",
p => { p.entity.teleport(1002, 321, 255); }, null);