daily pastebin goal
12%
SHARE
TWEET

مواقيت الصلاه اوماتك

k7host Feb 13th, 2018 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static void SendPrayerTime()
  2.         {
  3.             var Prayer = MazenPrayerTime.MazenPrayerTimes.GetPrayerTime(30.0444196, 31.23571160000006, "Africa/Cairo");
  4.             var Time = DateTime.Now.ToString("hh:mm");
  5.             var Fajr = Prayer.data.timings.Fajr;
  6.             var Dhuhr = Prayer.data.timings.Dhuhr;
  7.             var Asr = Prayer.data.timings.Asr;
  8.             var Maghrib = Prayer.data.timings.Maghrib;
  9.             var Isha = Prayer.data.timings.Isha;
  10.             if (Time == Fajr)
  11.             {
  12.                 Kernel.SendWorldMessage(new MsgTalk("It's now Fajr prayer", MsgTalk.Center), Server.GamePool);
  13.             }
  14.             else if (Time == Dhuhr)
  15.             {
  16.                 Kernel.SendWorldMessage(new MsgTalk("It's now Dhuhr prayer", MsgTalk.Center), Server.GamePool);
  17.             }
  18.             else if (Time == Asr)
  19.             {
  20.                 Kernel.SendWorldMessage(new MsgTalk("It's now Asr prayer", MsgTalk.Center), Server.GamePool);
  21.             }
  22.             else if (Time == Maghrib)
  23.             {
  24.                 Kernel.SendWorldMessage(new MsgTalk("It's now Maghrib prayer", MsgTalk.Center), Server.GamePool);
  25.             }
  26.             else if (Time == Isha)
  27.             {
  28.                 Kernel.SendWorldMessage(new MsgTalk("It's now Isha prayer", MsgTalk.Center), Server.GamePool);
  29.             }
  30.         }
  31.  
  32.  
  33. و ضيف فى private void WorldTournaments(int time)
  34.  
  35.  
  36.             SendPrayerTime();
RAW Paste Data
Top