عرض مشاركة واحدة
قديم 2020-05-03, 10:51 PM
المشاركة 5
Uchiha T3Alo
.:: مشرف قسم المشاكل ::.
  • غير متواجد
pen رد: مشكلة في حرب الجيلد
كود:
#region GuildWar if (GuildWar.IsWar) { if (Time32.Now > GuildWar.ScoreSendStamp.AddSeconds(3)) { GuildWar.ScoreSendStamp = Time32.Now; GuildWar.SendScores(); } } if ((Now64.Hour >= 19 && Now64.Hour <= 20) && (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.Player.Dead) { EventAlert alert = new EventAlert { StrResID = 10515, Countdown = 60, UK12 = 1 }; client.Player.StrResID = 10515; client.Send(alert); } } } } if (GuildWar.IsWar) { if (Now64.Hour == 21 && Now64.Minute == 00 && Now64.Second == 00) { GuildWar.Flame10th = false; GuildWar.End(); } } #endregion
امسح يا بيشه الكود ده هبد فى هبد ده بيقفل الوير ويفتحها بعديه بشويه اسحبوا من اى سورس يا حج لاما تعدل عليه وتمسح GuildWar.Start();