Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Autor: MogudanX2
- TIME-X GAME - v4.1.0 Edition similiar GTA:SA
- —————————————————————
- Filterscript original system in time to play gta san andreas
- Adventure mode.
- **************************************************************
- *) New Versión 4.1.0:
- Wednesday, May 25, 2011,
- ——————————————————-
- - Added texts of the time.
- - Minor upgrades.
- Next version: Climatology Shuffle!
- Notes:
- It is possible that when entering the second server will only
- appear on the screen. Is normal, when the latter reach 0 shows
- the current time.
- It is also possible that nothing else enter the server, given
- the chance when I upgrade the minute .. when his character was
- reborn add the second.
- **************************************************************
- *) Versión 4.0.0:
- Sunday, May 15, 2011,
- ——————————————————-
- - Fewer lines.
- - Simulating the original hours.
- - 24 minutes per day spent in real time.
- - No text showing the time (to be + added)
- - Transition from mild weather *.
- * Updated every second.
- */
- #include <a_samp>
- forward clock();
- new SecondsSec;
- new Text:TextdrawSec;
- new Text:Textdraw00;
- new Text:Textdraw01;
- new Text:Textdraw02;
- new Text:Textdraw03;
- new Text:Textdraw04;
- new Text:Textdraw05;
- new Text:Textdraw06;
- new Text:Textdraw07;
- new Text:Textdraw08;
- new Text:Textdraw09;
- new Text:Textdraw10;
- new Text:Textdraw11;
- new Text:Textdraw12;
- new Text:Textdraw13;
- new Text:Textdraw14;
- new Text:Textdraw15;
- new Text:Textdraw16;
- new Text:Textdraw17;
- new Text:Textdraw18;
- new Text:Textdraw19;
- new Text:Textdraw20;
- new Text:Textdraw21;
- new Text:Textdraw22;
- new Text:Textdraw23;
- public OnFilterScriptInit()
- {
- print("\n----------------------------------------------------------------------------");
- print(" TIME-X GAME - v4.1.0 Edition Similar GTA:SA");
- print("----------------------------------------------------------------------------\n");
- Textdraw00 = TextDrawCreate(547.0, 24.0, "00");
- TextDrawLetterSize(Textdraw00, 0.6, 2.0);
- TextDrawFont(Textdraw00, 3);
- TextDrawSetOutline(Textdraw00, 2);
- TextDrawShowForAll(Textdraw00);
- Textdraw01 = TextDrawCreate(547.0, 24.0, "01");
- TextDrawLetterSize(Textdraw01, 0.6, 2.0);
- TextDrawFont(Textdraw01, 3);
- TextDrawSetOutline(Textdraw01, 2);
- TextDrawShowForAll(Textdraw01);
- Textdraw02 = TextDrawCreate(547.0, 24.0, "02");
- TextDrawLetterSize(Textdraw02, 0.6, 2.0);
- TextDrawFont(Textdraw02, 3);
- TextDrawSetOutline(Textdraw02, 2);
- TextDrawShowForAll(Textdraw02);
- Textdraw03 = TextDrawCreate(547.0, 24.0, "03");
- TextDrawLetterSize(Textdraw03, 0.6, 2.0);
- TextDrawFont(Textdraw03, 3);
- TextDrawSetOutline(Textdraw03, 2);
- TextDrawShowForAll(Textdraw03);
- Textdraw04 = TextDrawCreate(547.0, 24.0, "04");
- TextDrawLetterSize(Textdraw04, 0.6, 2.0);
- TextDrawFont(Textdraw04, 3);
- TextDrawSetOutline(Textdraw04, 2);
- TextDrawShowForAll(Textdraw04);
- Textdraw05 = TextDrawCreate(547.0, 24.0, "05");
- TextDrawLetterSize(Textdraw05, 0.6, 2.0);
- TextDrawFont(Textdraw05, 3);
- TextDrawSetOutline(Textdraw05, 2);
- TextDrawShowForAll(Textdraw05);
- Textdraw06 = TextDrawCreate(547.0, 24.0, "06");
- TextDrawLetterSize(Textdraw06, 0.6, 2.0);
- TextDrawFont(Textdraw06, 3);
- TextDrawSetOutline(Textdraw06, 2);
- TextDrawShowForAll(Textdraw06);
- Textdraw07 = TextDrawCreate(547.0, 24.0, "07");
- TextDrawLetterSize(Textdraw07, 0.6, 2.0);
- TextDrawFont(Textdraw07, 3);
- TextDrawSetOutline(Textdraw07, 2);
- TextDrawShowForAll(Textdraw07);
- Textdraw08 = TextDrawCreate(547.0, 24.0, "08");
- TextDrawLetterSize(Textdraw08, 0.6, 2.0);
- TextDrawFont(Textdraw08, 3);
- TextDrawSetOutline(Textdraw08, 2);
- TextDrawShowForAll(Textdraw08);
- Textdraw09 = TextDrawCreate(547.0, 24.0, "09");
- TextDrawLetterSize(Textdraw09, 0.6, 2.0);
- TextDrawFont(Textdraw09, 3);
- TextDrawSetOutline(Textdraw09, 2);
- TextDrawShowForAll(Textdraw09);
- Textdraw10 = TextDrawCreate(547.0, 24.0, "10");
- TextDrawLetterSize(Textdraw10, 0.6, 2.0);
- TextDrawFont(Textdraw10, 3);
- TextDrawSetOutline(Textdraw10, 2);
- TextDrawShowForAll(Textdraw10);
- Textdraw11 = TextDrawCreate(547.0, 24.0, "11");
- TextDrawLetterSize(Textdraw11, 0.6, 2.0);
- TextDrawFont(Textdraw11, 3);
- TextDrawSetOutline(Textdraw11, 2);
- TextDrawShowForAll(Textdraw11);
- Textdraw12 = TextDrawCreate(547.0, 24.0, "12");
- TextDrawLetterSize(Textdraw12, 0.6, 2.0);
- TextDrawFont(Textdraw12, 3);
- TextDrawSetOutline(Textdraw12, 2);
- TextDrawShowForAll(Textdraw12);
- Textdraw13 = TextDrawCreate(547.0, 24.0, "13");
- TextDrawLetterSize(Textdraw13, 0.6, 2.0);
- TextDrawFont(Textdraw13, 3);
- TextDrawSetOutline(Textdraw13, 2);
- TextDrawShowForAll(Textdraw13);
- Textdraw14 = TextDrawCreate(547.0, 24.0, "14");
- TextDrawLetterSize(Textdraw14, 0.6, 2.0);
- TextDrawFont(Textdraw14, 3);
- TextDrawSetOutline(Textdraw14, 2);
- TextDrawShowForAll(Textdraw14);
- Textdraw15 = TextDrawCreate(547.0, 24.0, "15");
- TextDrawLetterSize(Textdraw15, 0.6, 2.0);
- TextDrawFont(Textdraw15, 3);
- TextDrawSetOutline(Textdraw15, 2);
- TextDrawShowForAll(Textdraw15);
- Textdraw16 = TextDrawCreate(547.0, 24.0, "16");
- TextDrawLetterSize(Textdraw16, 0.6, 2.0);
- TextDrawFont(Textdraw16, 3);
- TextDrawSetOutline(Textdraw16, 2);
- TextDrawShowForAll(Textdraw16);
- Textdraw17 = TextDrawCreate(547.0, 24.0, "17");
- TextDrawLetterSize(Textdraw17, 0.6, 2.0);
- TextDrawFont(Textdraw17, 3);
- TextDrawSetOutline(Textdraw17, 2);
- TextDrawShowForAll(Textdraw17);
- Textdraw18 = TextDrawCreate(547.0, 24.0, "18");
- TextDrawLetterSize(Textdraw18, 0.6, 2.0);
- TextDrawFont(Textdraw18, 3);
- TextDrawSetOutline(Textdraw18, 2);
- TextDrawShowForAll(Textdraw18);
- Textdraw19 = TextDrawCreate(547.0, 24.0, "19");
- TextDrawLetterSize(Textdraw19, 0.6, 2.0);
- TextDrawFont(Textdraw19, 3);
- TextDrawSetOutline(Textdraw19, 2);
- TextDrawShowForAll(Textdraw19);
- Textdraw20 = TextDrawCreate(547.0, 24.0, "20");
- TextDrawLetterSize(Textdraw20, 0.6, 2.0);
- TextDrawFont(Textdraw20, 3);
- TextDrawSetOutline(Textdraw20, 2);
- TextDrawShowForAll(Textdraw20);
- Textdraw21 = TextDrawCreate(547.0, 24.0, "21");
- TextDrawLetterSize(Textdraw21, 0.6, 2.0);
- TextDrawFont(Textdraw21, 3);
- TextDrawSetOutline(Textdraw21, 2);
- TextDrawShowForAll(Textdraw21);
- Textdraw22 = TextDrawCreate(547.0, 24.0, "22");
- TextDrawLetterSize(Textdraw22, 0.6, 2.0);
- TextDrawFont(Textdraw22, 3);
- TextDrawSetOutline(Textdraw22, 2);
- TextDrawShowForAll(Textdraw22);
- Textdraw23 = TextDrawCreate(547.0, 24.0, "23");
- TextDrawLetterSize(Textdraw23, 0.6, 2.0);
- TextDrawFont(Textdraw23, 3);
- TextDrawSetOutline(Textdraw23, 2);
- TextDrawShowForAll(Textdraw23);
- TextdrawSec = TextDrawCreate(552.0, 24.0, " :00");
- TextDrawLetterSize(TextdrawSec, 0.6, 2.0);
- TextDrawFont(TextdrawSec, 3);
- TextDrawSetOutline(TextdrawSec, 2);
- TextDrawShowForAll(TextdrawSec);
- clock();
- SetTimer("clock",1000,1);
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnGameModeInit()
- {
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- clock();
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public clock()
- {
- new hour,minute,second;
- gettime(hour,minute,second);
- SecondsSec = second;
- new string[24];
- if(SecondsSec != 59)
- {
- SecondsSec ++;
- }
- else
- {
- SecondsSec = 0;
- }
- if(SecondsSec < 10)
- {
- format(string, sizeof(string)," :0%d",SecondsSec);
- }
- else
- {
- format(string, sizeof(string)," :%d",SecondsSec);
- }
- TextDrawSetString(TextdrawSec, string);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if (hour == 1 || hour == 3 || hour == 5 || hour == 7 || hour == 9 || hour == 11 || hour == 13 || hour == 15 || hour == 17 || hour == 19 || hour == 21 || hour == 23)
- {
- if (minute == 0 || minute == 24 || minute == 48)
- {
- if (second == 0)
- {
- SetPlayerTime(i,0,0);
- TextDrawHideForPlayer(i, Textdraw23);
- TextDrawShowForPlayer(i, Textdraw00);
- }
- }
- if (minute == 1 || minute == 25 || minute == 49)
- {
- if (second == 0)
- {
- SetPlayerTime(i,1,0);
- TextDrawHideForPlayer(i, Textdraw00);
- TextDrawShowForPlayer(i, Textdraw01);
- }
- }
- if (minute == 2 || minute == 26 || minute == 50)
- {
- if (second == 0)
- {
- SetPlayerTime(i,2,0);
- TextDrawHideForPlayer(i, Textdraw01);
- TextDrawShowForPlayer(i, Textdraw02);
- }
- }
- if (minute == 3 || minute == 27 || minute == 51)
- {
- if (second == 0)
- {
- SetPlayerTime(i,3,0);
- TextDrawHideForPlayer(i, Textdraw02);
- TextDrawShowForPlayer(i, Textdraw03);
- }
- }
- if (minute == 4 || minute == 28 || minute == 52)
- {
- if (second == 0)
- {
- SetPlayerTime(i,4,0);
- TextDrawHideForPlayer(i, Textdraw03);
- TextDrawShowForPlayer(i, Textdraw04);
- }
- if (second == 1)
- {
- SetPlayerTime(i,4,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,4,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,4,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,4,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,4,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,4,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,4,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,4,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,4,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,4,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,4,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,4,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,4,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,4,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,4,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,4,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,4,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,4,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,4,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,4,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,4,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,4,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,4,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,4,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,4,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,4,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,4,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,4,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,4,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,4,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,4,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,4,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,4,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,4,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,4,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,4,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,4,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,4,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,4,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,4,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,4,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,4,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,4,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,4,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,4,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,4,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,4,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,4,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,4,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,4,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,4,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,4,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,4,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,4,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,4,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,4,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,4,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,4,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,4,59);
- }
- }
- if (minute == 5 || minute == 29 || minute == 53)
- {
- if (second == 0)
- {
- SetPlayerTime(i,5,0);
- TextDrawHideForPlayer(i, Textdraw04);
- TextDrawShowForPlayer(i, Textdraw05);
- }
- if (second == 1)
- {
- SetPlayerTime(i,5,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,5,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,5,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,5,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,5,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,5,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,5,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,5,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,5,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,5,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,5,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,5,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,5,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,5,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,5,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,5,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,5,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,5,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,5,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,5,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,5,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,5,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,5,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,5,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,5,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,5,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,5,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,5,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,5,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,5,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,5,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,5,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,5,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,5,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,5,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,5,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,5,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,5,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,5,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,5,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,5,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,5,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,5,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,5,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,5,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,5,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,5,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,5,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,5,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,5,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,5,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,5,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,5,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,5,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,5,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,5,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,5,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,5,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,5,59);
- }
- }
- if (minute == 6 || minute == 30 || minute == 54)
- {
- if (second == 0)
- {
- SetPlayerTime(i,6,0);
- TextDrawHideForPlayer(i, Textdraw05);
- TextDrawShowForPlayer(i, Textdraw06);
- }
- if (second == 1)
- {
- SetPlayerTime(i,6,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,6,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,6,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,6,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,6,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,6,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,6,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,6,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,6,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,6,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,6,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,6,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,6,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,6,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,6,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,6,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,6,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,6,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,6,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,6,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,6,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,6,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,6,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,6,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,6,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,6,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,6,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,6,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,6,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,6,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,6,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,6,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,6,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,6,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,6,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,6,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,6,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,6,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,6,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,6,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,6,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,6,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,6,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,6,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,6,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,6,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,6,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,6,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,6,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,6,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,6,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,6,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,6,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,6,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,6,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,6,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,6,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,6,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,6,59);
- }
- }
- if (minute == 7 || minute == 31 || minute == 55)
- {
- if (second == 0)
- {
- SetPlayerTime(i,7,0);
- TextDrawHideForPlayer(i, Textdraw06);
- TextDrawShowForPlayer(i, Textdraw07);
- }
- if (second == 1)
- {
- SetPlayerTime(i,7,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,7,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,7,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,7,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,7,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,7,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,7,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,7,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,7,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,7,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,7,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,7,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,7,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,7,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,7,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,7,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,7,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,7,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,7,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,7,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,7,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,7,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,7,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,7,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,7,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,7,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,7,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,7,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,7,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,7,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,7,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,7,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,7,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,7,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,7,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,7,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,7,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,7,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,7,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,7,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,7,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,7,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,7,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,7,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,7,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,7,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,7,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,7,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,7,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,7,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,7,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,7,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,7,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,7,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,7,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,7,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,7,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,7,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,7,59);
- }
- }
- if (minute == 8 || minute == 32 || minute == 56)
- {
- if (second == 0)
- {
- SetPlayerTime(i,8,0);
- TextDrawHideForPlayer(i, Textdraw07);
- TextDrawShowForPlayer(i, Textdraw08);
- }
- if (second == 1)
- {
- SetPlayerTime(i,8,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,8,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,8,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,8,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,8,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,8,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,8,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,8,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,8,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,8,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,8,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,8,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,8,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,8,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,8,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,8,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,8,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,8,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,8,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,8,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,8,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,8,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,8,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,8,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,8,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,8,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,8,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,8,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,8,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,8,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,8,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,8,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,8,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,8,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,8,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,8,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,8,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,8,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,8,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,8,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,8,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,8,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,8,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,8,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,8,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,8,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,8,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,8,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,8,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,8,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,8,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,8,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,8,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,8,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,8,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,8,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,8,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,8,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,8,59);
- }
- }
- if (minute == 9 || minute == 33 || minute == 57)
- {
- if (second == 0)
- {
- SetPlayerTime(i,9,0);
- TextDrawHideForPlayer(i, Textdraw08);
- TextDrawShowForPlayer(i, Textdraw09);
- }
- if (second == 1)
- {
- SetPlayerTime(i,9,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,9,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,9,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,9,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,9,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,9,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,9,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,9,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,9,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,9,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,9,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,9,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,9,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,9,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,9,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,9,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,9,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,9,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,9,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,9,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,9,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,9,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,9,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,9,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,9,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,9,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,9,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,9,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,9,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,9,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,9,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,9,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,9,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,9,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,9,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,9,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,9,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,9,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,9,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,9,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,9,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,9,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,9,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,9,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,9,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,9,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,9,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,9,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,9,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,9,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,9,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,9,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,9,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,9,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,9,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,9,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,9,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,9,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,9,59);
- }
- }
- if (minute == 10 || minute == 34 || minute == 58)
- {
- if (second == 0)
- {
- SetPlayerTime(i,10,0);
- TextDrawHideForPlayer(i, Textdraw09);
- TextDrawShowForPlayer(i, Textdraw10);
- }
- if (second == 1)
- {
- SetPlayerTime(i,10,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,10,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,10,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,10,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,10,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,10,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,10,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,10,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,10,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,10,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,10,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,10,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,10,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,10,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,10,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,10,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,10,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,10,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,10,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,10,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,10,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,10,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,10,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,10,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,10,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,10,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,10,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,10,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,10,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,10,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,10,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,10,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,10,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,10,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,10,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,10,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,10,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,10,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,10,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,10,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,10,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,10,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,10,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,10,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,10,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,10,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,10,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,10,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,10,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,10,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,10,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,10,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,10,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,10,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,10,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,10,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,10,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,10,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,10,59);
- }
- }
- if (minute == 11 || minute == 35 || minute == 59)
- {
- if (second == 0)
- {
- SetPlayerTime(i,11,0);
- TextDrawHideForPlayer(i, Textdraw10);
- TextDrawShowForPlayer(i, Textdraw11);
- }
- }
- if (minute == 12 || minute == 36)
- {
- if (second == 0)
- {
- SetPlayerTime(i,12,0);
- TextDrawHideForPlayer(i, Textdraw11);
- TextDrawShowForPlayer(i, Textdraw12);
- }
- }
- if (minute == 13 || minute == 37)
- {
- if (second == 0)
- {
- SetPlayerTime(i,13,0);
- TextDrawHideForPlayer(i, Textdraw12);
- TextDrawShowForPlayer(i, Textdraw13);
- }
- }
- if (minute == 14 || minute == 38)
- {
- if (second == 0)
- {
- SetPlayerTime(i,14,0);
- TextDrawHideForPlayer(i, Textdraw13);
- TextDrawShowForPlayer(i, Textdraw14);
- }
- }
- if (minute == 15 || minute == 39)
- {
- if (second == 0)
- {
- TextDrawHideForPlayer(i, Textdraw14);
- TextDrawShowForPlayer(i, Textdraw15);
- SetPlayerTime(i,15,0);
- }
- }
- if (minute == 16 || minute == 40)
- {
- if (second == 0)
- {
- TextDrawHideForPlayer(i, Textdraw15);
- TextDrawShowForPlayer(i, Textdraw16);
- SetPlayerTime(i,16,0);
- }
- }
- if (minute == 17 || minute == 41)
- {
- if (second == 0)
- {
- TextDrawHideForPlayer(i, Textdraw16);
- TextDrawShowForPlayer(i, Textdraw17);
- SetPlayerTime(i,17,0);
- }
- }
- if (minute == 18 || minute == 42)
- {
- if (second == 0)
- {
- TextDrawHideForPlayer(i, Textdraw17);
- TextDrawShowForPlayer(i, Textdraw18);
- SetPlayerTime(i,18,0);
- }
- }
- if (minute == 19 || minute == 43)
- {
- if (second == 0)
- {
- TextDrawHideForPlayer(i, Textdraw18);
- TextDrawShowForPlayer(i, Textdraw19);
- SetPlayerTime(i,19,0);
- }
- if (second == 1)
- {
- SetPlayerTime(i,19,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,19,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,19,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,19,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,19,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,19,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,19,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,19,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,19,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,19,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,19,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,19,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,19,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,19,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,19,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,19,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,19,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,19,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,19,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,19,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,19,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,19,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,19,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,19,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,19,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,19,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,19,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,19,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,19,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,19,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,19,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,19,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,19,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,19,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,19,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,19,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,19,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,19,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,19,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,19,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,19,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,19,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,19,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,19,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,19,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,19,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,19,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,19,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,19,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,19,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,19,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,19,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,19,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,19,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,19,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,19,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,19,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,19,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,19,59);
- }
- }
- if (minute == 20 || minute == 44)
- {
- if (second == 0)
- {
- TextDrawHideForPlayer(i, Textdraw19);
- TextDrawShowForPlayer(i, Textdraw20);
- SetPlayerTime(i,20,0);
- }
- if (second == 1)
- {
- SetPlayerTime(i,20,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,20,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,20,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,20,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,20,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,20,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,20,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,20,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,20,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,20,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,20,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,20,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,20,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,20,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,20,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,20,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,20,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,20,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,20,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,20,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,20,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,20,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,20,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,20,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,20,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,20,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,20,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,20,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,20,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,20,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,20,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,20,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,20,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,20,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,20,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,20,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,20,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,20,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,20,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,20,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,20,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,20,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,20,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,20,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,20,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,20,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,20,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,20,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,20,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,20,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,20,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,20,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,20,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,20,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,20,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,20,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,20,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,20,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,20,59);
- }
- }
- if (minute == 21 || minute == 45)
- {
- if (second == 0)
- {
- TextDrawHideForPlayer(i, Textdraw20);
- TextDrawShowForPlayer(i, Textdraw21);
- SetPlayerTime(i,21,0);
- }
- if (second == 1)
- {
- SetPlayerTime(i,21,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,21,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,21,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,21,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,21,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,21,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,21,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,21,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,21,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,21,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,21,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,21,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,21,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,21,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,21,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,21,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,21,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,21,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,21,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,21,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,21,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,21,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,21,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,21,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,21,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,21,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,21,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,21,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,21,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,21,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,21,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,21,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,21,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,21,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,21,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,21,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,21,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,21,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,21,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,21,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,21,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,21,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,21,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,21,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,21,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,21,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,21,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,21,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,21,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,21,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,21,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,21,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,21,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,21,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,21,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,21,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,21,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,21,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,21,59);
- }
- }
- if (minute == 22 || minute == 46)
- {
- if (second == 0)
- {
- SetPlayerTime(i,22,0);
- TextDrawHideForPlayer(i, Textdraw21);
- TextDrawShowForPlayer(i, Textdraw22);
- }
- if (second == 1)
- {
- SetPlayerTime(i,22,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,22,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,22,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,22,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,22,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,22,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,22,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,22,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,22,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,22,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,22,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,22,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,22,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,22,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,22,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,22,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,22,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,22,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,22,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,22,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,22,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,22,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,22,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,22,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,22,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,22,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,22,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,22,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,22,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,22,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,22,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,22,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,22,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,22,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,22,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,22,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,22,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,22,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,22,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,22,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,22,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,22,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,22,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,22,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,22,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,22,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,22,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,22,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,22,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,22,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,22,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,22,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,22,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,22,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,22,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,22,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,22,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,22,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,22,59);
- }
- }
- if (minute == 23 || minute == 47)
- {
- if (second == 0)
- {
- SetPlayerTime(i,23,0);
- TextDrawHideForPlayer(i, Textdraw22);
- TextDrawShowForPlayer(i, Textdraw23);
- }
- if (second == 1)
- {
- SetPlayerTime(i,23,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,23,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,23,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,23,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,23,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,23,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,23,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,23,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,23,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,23,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,23,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,23,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,23,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,23,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,23,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,23,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,23,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,23,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,23,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,23,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,23,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,23,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,23,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,23,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,23,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,23,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,23,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,23,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,23,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,23,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,23,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,23,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,23,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,23,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,23,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,23,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,23,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,23,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,23,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,23,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,23,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,23,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,23,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,23,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,23,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,23,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,23,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,23,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,23,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,23,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,23,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,23,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,23,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,23,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,23,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,23,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,23,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,23,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,23,59);
- }
- }
- }
- if (hour == 0 || hour == 2 || hour == 4 || hour == 6 || hour == 8 || hour == 10 || hour == 12 || hour == 14 || hour == 16 || hour == 18 || hour == 20 || hour == 22)
- {
- if (minute == 0 || minute == 24 || minute == 48)
- {
- if (second == 0)
- {
- SetPlayerTime(i,12,0);
- TextDrawHideForPlayer(i, Textdraw11);
- TextDrawShowForPlayer(i, Textdraw12);
- }
- }
- if (minute == 1 || minute == 25 || minute == 49)
- {
- if (second == 0)
- {
- SetPlayerTime(i,13,0);
- TextDrawHideForPlayer(i, Textdraw12);
- TextDrawShowForPlayer(i, Textdraw13);
- }
- }
- if (minute == 2 || minute == 26 || minute == 50)
- {
- if (second == 0)
- {
- SetPlayerTime(i,14,0);
- TextDrawHideForPlayer(i, Textdraw13);
- TextDrawShowForPlayer(i, Textdraw14);
- }
- }
- if (minute == 3 || minute == 27 || minute == 51)
- {
- if (second == 0)
- {
- SetPlayerTime(i,15,0);
- TextDrawHideForPlayer(i, Textdraw14);
- TextDrawShowForPlayer(i, Textdraw15);
- }
- }
- if (minute == 4 || minute == 28 || minute == 52)
- {
- if (second == 0)
- {
- SetPlayerTime(i,16,0);
- TextDrawHideForPlayer(i, Textdraw15);
- TextDrawShowForPlayer(i, Textdraw16);
- }
- }
- if (minute == 5 || minute == 29 || minute == 53)
- {
- if (second == 0)
- {
- SetPlayerTime(i,17,0);
- TextDrawHideForPlayer(i, Textdraw16);
- TextDrawShowForPlayer(i, Textdraw17);
- }
- }
- if (minute == 6 || minute == 30 || minute == 54)
- {
- if (second == 0)
- {
- SetPlayerTime(i,18,0);
- TextDrawHideForPlayer(i, Textdraw17);
- TextDrawShowForPlayer(i, Textdraw18);
- }
- }
- if (minute == 7 || minute == 31 || minute == 55)
- {
- if (second == 0)
- {
- SetPlayerTime(i,19,0);
- TextDrawHideForPlayer(i, Textdraw18);
- TextDrawShowForPlayer(i, Textdraw19);
- }
- if (second == 1)
- {
- SetPlayerTime(i,19,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,19,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,19,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,19,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,19,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,19,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,19,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,19,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,19,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,19,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,19,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,19,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,19,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,19,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,19,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,19,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,19,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,19,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,19,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,19,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,19,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,19,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,19,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,19,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,19,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,19,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,19,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,19,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,19,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,19,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,19,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,19,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,19,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,19,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,19,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,19,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,19,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,19,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,19,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,19,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,19,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,19,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,19,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,19,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,19,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,19,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,19,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,19,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,19,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,19,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,19,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,19,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,19,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,19,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,19,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,19,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,19,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,19,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,19,59);
- }
- }
- if (minute == 8 || minute == 32 || minute == 56)
- {
- if (second == 0)
- {
- SetPlayerTime(i,20,0);
- TextDrawHideForPlayer(i, Textdraw19);
- TextDrawShowForPlayer(i, Textdraw20);
- }
- if (second == 1)
- {
- SetPlayerTime(i,20,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,20,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,20,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,20,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,20,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,20,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,20,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,20,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,20,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,20,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,20,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,20,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,20,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,20,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,20,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,20,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,20,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,20,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,20,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,20,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,20,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,20,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,20,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,20,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,20,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,20,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,20,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,20,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,20,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,20,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,20,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,20,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,20,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,20,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,20,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,20,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,20,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,20,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,20,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,20,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,20,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,20,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,20,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,20,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,20,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,20,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,20,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,20,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,20,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,20,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,20,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,20,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,20,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,20,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,20,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,20,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,20,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,20,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,20,59);
- }
- }
- if (minute == 9 || minute == 33 || minute == 57)
- {
- if (second == 0)
- {
- SetPlayerTime(i,21,0);
- TextDrawHideForPlayer(i, Textdraw20);
- TextDrawShowForPlayer(i, Textdraw21);
- }
- if (second == 1)
- {
- SetPlayerTime(i,21,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,21,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,21,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,21,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,21,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,21,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,21,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,21,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,21,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,21,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,21,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,21,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,21,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,21,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,21,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,21,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,21,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,21,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,21,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,21,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,21,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,21,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,21,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,21,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,21,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,21,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,21,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,21,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,21,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,21,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,21,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,21,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,21,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,21,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,21,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,21,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,21,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,21,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,21,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,21,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,21,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,21,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,21,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,21,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,21,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,21,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,21,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,21,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,21,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,21,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,21,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,21,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,21,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,21,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,21,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,21,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,21,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,21,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,21,59);
- }
- }
- if (minute == 10 || minute == 34 || minute == 58)
- {
- if (second == 0)
- {
- SetPlayerTime(i,22,0);
- TextDrawHideForPlayer(i, Textdraw21);
- TextDrawShowForPlayer(i, Textdraw22);
- }
- if (second == 1)
- {
- SetPlayerTime(i,22,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,22,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,22,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,22,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,22,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,22,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,22,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,22,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,22,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,22,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,22,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,22,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,22,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,22,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,22,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,22,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,22,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,22,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,22,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,22,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,22,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,22,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,22,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,22,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,22,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,22,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,22,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,22,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,22,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,22,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,22,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,22,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,22,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,22,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,22,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,22,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,22,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,22,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,22,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,22,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,22,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,22,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,22,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,22,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,22,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,22,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,22,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,22,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,22,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,22,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,22,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,22,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,22,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,22,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,22,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,22,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,22,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,22,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,22,59);
- }
- }
- if (minute == 11 || minute == 35 || minute == 59)
- {
- if (second == 0)
- {
- SetPlayerTime(i,23,0);
- TextDrawHideForPlayer(i, Textdraw22);
- TextDrawShowForPlayer(i, Textdraw23);
- }
- if (second == 1)
- {
- SetPlayerTime(i,23,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,23,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,23,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,23,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,23,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,23,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,23,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,23,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,23,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,23,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,23,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,23,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,23,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,23,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,23,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,23,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,23,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,23,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,23,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,23,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,23,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,23,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,23,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,23,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,23,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,23,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,23,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,23,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,23,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,23,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,23,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,23,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,23,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,23,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,23,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,23,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,23,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,23,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,23,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,23,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,23,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,23,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,23,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,23,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,23,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,23,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,23,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,23,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,23,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,23,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,23,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,23,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,23,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,23,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,23,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,23,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,23,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,23,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,23,59);
- }
- }
- if (minute == 12 || minute == 36)
- {
- if (second == 0)
- {
- SetPlayerTime(i,0,0);
- TextDrawHideForPlayer(i, Textdraw23);
- TextDrawShowForPlayer(i, Textdraw00);
- }
- }
- if (minute == 13 || minute == 37)
- {
- if (second == 0)
- {
- SetPlayerTime(i,1,0);
- TextDrawHideForPlayer(i, Textdraw00);
- TextDrawShowForPlayer(i, Textdraw01);
- }
- }
- if (minute == 14 || minute == 38)
- {
- if (second == 0)
- {
- SetPlayerTime(i,2,0);
- TextDrawHideForPlayer(i, Textdraw01);
- TextDrawShowForPlayer(i, Textdraw02);
- }
- }
- if (minute == 15 || minute == 39)
- {
- if (second == 0)
- {
- SetPlayerTime(i,3,0);
- TextDrawHideForPlayer(i, Textdraw02);
- TextDrawShowForPlayer(i, Textdraw03);
- }
- }
- if (minute == 16 || minute == 40)
- {
- if (second == 0)
- {
- SetPlayerTime(i,4,0);
- TextDrawHideForPlayer(i, Textdraw03);
- TextDrawShowForPlayer(i, Textdraw04);
- }
- if (second == 1)
- {
- SetPlayerTime(i,4,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,4,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,4,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,4,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,4,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,4,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,4,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,4,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,4,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,4,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,4,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,4,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,4,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,4,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,4,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,4,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,4,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,4,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,4,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,4,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,4,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,4,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,4,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,4,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,4,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,4,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,4,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,4,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,4,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,4,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,4,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,4,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,4,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,4,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,4,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,4,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,4,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,4,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,4,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,4,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,4,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,4,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,4,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,4,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,4,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,4,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,4,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,4,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,4,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,4,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,4,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,4,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,4,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,4,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,4,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,4,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,4,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,4,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,4,59);
- }
- }
- if (minute == 17 || minute == 41)
- {
- if (second == 0)
- {
- SetPlayerTime(i,5,0);
- TextDrawHideForPlayer(i, Textdraw04);
- TextDrawShowForPlayer(i, Textdraw05);
- }
- if (second == 1)
- {
- SetPlayerTime(i,5,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,5,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,5,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,5,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,5,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,5,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,5,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,5,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,5,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,5,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,5,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,5,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,5,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,5,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,5,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,5,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,5,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,5,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,5,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,5,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,5,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,5,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,5,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,5,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,5,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,5,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,5,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,5,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,5,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,5,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,5,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,5,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,5,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,5,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,5,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,5,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,5,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,5,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,5,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,5,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,5,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,5,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,5,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,5,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,5,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,5,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,5,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,5,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,5,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,5,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,5,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,5,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,5,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,5,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,5,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,5,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,5,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,5,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,5,59);
- }
- }
- if (minute == 18 || minute == 42)
- {
- if (second == 0)
- {
- SetPlayerTime(i,6,0);
- TextDrawHideForPlayer(i, Textdraw05);
- TextDrawShowForPlayer(i, Textdraw06);
- }
- if (second == 1)
- {
- SetPlayerTime(i,6,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,6,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,6,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,6,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,6,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,6,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,6,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,6,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,6,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,6,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,6,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,6,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,6,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,6,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,6,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,6,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,6,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,6,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,6,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,6,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,6,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,6,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,6,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,6,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,6,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,6,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,6,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,6,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,6,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,6,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,6,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,6,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,6,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,6,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,6,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,6,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,6,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,6,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,6,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,6,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,6,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,6,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,6,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,6,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,6,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,6,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,6,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,6,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,6,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,6,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,6,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,6,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,6,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,6,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,6,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,6,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,6,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,6,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,6,59);
- }
- }
- if (minute == 19 || minute == 43)
- {
- if (second == 0)
- {
- SetPlayerTime(i,7,0);
- TextDrawHideForPlayer(i, Textdraw06);
- TextDrawShowForPlayer(i, Textdraw07);
- }
- if (second == 1)
- {
- SetPlayerTime(i,7,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,7,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,7,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,7,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,7,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,7,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,7,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,7,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,7,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,7,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,7,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,7,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,7,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,7,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,7,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,7,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,7,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,7,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,7,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,7,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,7,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,7,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,7,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,7,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,7,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,7,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,7,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,7,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,7,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,7,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,7,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,7,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,7,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,7,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,7,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,7,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,7,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,7,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,7,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,7,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,7,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,7,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,7,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,7,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,7,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,7,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,7,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,7,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,7,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,7,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,7,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,7,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,7,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,7,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,7,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,7,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,7,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,7,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,7,59);
- }
- }
- if (minute == 20 || minute == 44)
- {
- if (second == 0)
- {
- SetPlayerTime(i,8,0);
- TextDrawHideForPlayer(i, Textdraw07);
- TextDrawShowForPlayer(i, Textdraw08);
- }
- if (second == 1)
- {
- SetPlayerTime(i,8,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,8,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,8,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,8,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,8,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,8,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,8,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,8,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,8,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,8,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,8,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,8,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,8,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,8,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,8,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,8,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,8,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,8,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,8,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,8,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,8,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,8,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,8,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,8,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,8,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,8,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,8,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,8,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,8,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,8,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,8,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,8,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,8,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,8,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,8,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,8,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,8,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,8,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,8,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,8,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,8,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,8,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,8,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,8,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,8,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,8,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,8,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,8,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,8,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,8,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,8,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,8,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,8,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,8,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,8,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,8,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,8,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,8,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,8,59);
- }
- }
- if (minute == 21 || minute == 45)
- {
- if (second == 0)
- {
- SetPlayerTime(i,9,0);
- TextDrawHideForPlayer(i, Textdraw08);
- TextDrawShowForPlayer(i, Textdraw09);
- }
- if (second == 1)
- {
- SetPlayerTime(i,9,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,9,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,9,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,9,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,9,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,9,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,9,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,9,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,9,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,9,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,9,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,9,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,9,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,9,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,9,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,9,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,9,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,9,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,9,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,9,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,9,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,9,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,9,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,9,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,9,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,9,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,9,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,9,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,9,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,9,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,9,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,9,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,9,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,9,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,9,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,9,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,9,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,9,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,9,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,9,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,9,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,9,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,9,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,9,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,9,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,9,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,9,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,9,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,9,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,9,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,9,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,9,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,9,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,9,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,9,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,9,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,9,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,9,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,9,59);
- }
- }
- if (minute == 22 || minute == 46)
- {
- if (second == 0)
- {
- SetPlayerTime(i,10,0);
- TextDrawHideForPlayer(i, Textdraw09);
- TextDrawShowForPlayer(i, Textdraw10);
- }
- if (second == 1)
- {
- SetPlayerTime(i,10,01);
- }
- if (second == 2)
- {
- SetPlayerTime(i,10,02);
- }
- if (second == 3)
- {
- SetPlayerTime(i,10,03);
- }
- if (second == 4)
- {
- SetPlayerTime(i,10,04);
- }
- if (second == 5)
- {
- SetPlayerTime(i,10,05);
- }
- if (second == 6)
- {
- SetPlayerTime(i,10,06);
- }
- if (second == 7)
- {
- SetPlayerTime(i,10,07);
- }
- if (second == 8)
- {
- SetPlayerTime(i,10,08);
- }
- if (second == 9)
- {
- SetPlayerTime(i,10,09);
- }
- if (second == 10)
- {
- SetPlayerTime(i,10,10);
- }
- if (second == 11)
- {
- SetPlayerTime(i,10,11);
- }
- if (second == 12)
- {
- SetPlayerTime(i,10,12);
- }
- if (second == 13)
- {
- SetPlayerTime(i,10,13);
- }
- if (second == 14)
- {
- SetPlayerTime(i,10,14);
- }
- if (second == 15)
- {
- SetPlayerTime(i,10,15);
- }
- if (second == 16)
- {
- SetPlayerTime(i,10,16);
- }
- if (second == 17)
- {
- SetPlayerTime(i,10,17);
- }
- if (second == 18)
- {
- SetPlayerTime(i,10,18);
- }
- if (second == 19)
- {
- SetPlayerTime(i,10,19);
- }
- if (second == 20)
- {
- SetPlayerTime(i,10,20);
- }
- if (second == 21)
- {
- SetPlayerTime(i,10,21);
- }
- if (second == 22)
- {
- SetPlayerTime(i,10,22);
- }
- if (second == 23)
- {
- SetPlayerTime(i,10,23);
- }
- if (second == 24)
- {
- SetPlayerTime(i,10,24);
- }
- if (second == 25)
- {
- SetPlayerTime(i,10,25);
- }
- if (second == 26)
- {
- SetPlayerTime(i,10,26);
- }
- if (second == 27)
- {
- SetPlayerTime(i,10,27);
- }
- if (second == 28)
- {
- SetPlayerTime(i,10,28);
- }
- if (second == 29)
- {
- SetPlayerTime(i,10,29);
- }
- if (second == 30)
- {
- SetPlayerTime(i,10,30);
- }
- if (second == 31)
- {
- SetPlayerTime(i,10,31);
- }
- if (second == 32)
- {
- SetPlayerTime(i,10,32);
- }
- if (second == 33)
- {
- SetPlayerTime(i,10,33);
- }
- if (second == 34)
- {
- SetPlayerTime(i,10,34);
- }
- if (second == 35)
- {
- SetPlayerTime(i,10,35);
- }
- if (second == 36)
- {
- SetPlayerTime(i,10,36);
- }
- if (second == 37)
- {
- SetPlayerTime(i,10,37);
- }
- if (second == 38)
- {
- SetPlayerTime(i,10,38);
- }
- if (second == 39)
- {
- SetPlayerTime(i,10,39);
- }
- if (second == 40)
- {
- SetPlayerTime(i,10,40);
- }
- if (second == 41)
- {
- SetPlayerTime(i,10,41);
- }
- if (second == 42)
- {
- SetPlayerTime(i,10,42);
- }
- if (second == 43)
- {
- SetPlayerTime(i,10,43);
- }
- if (second == 44)
- {
- SetPlayerTime(i,10,44);
- }
- if (second == 45)
- {
- SetPlayerTime(i,10,45);
- }
- if (second == 46)
- {
- SetPlayerTime(i,10,46);
- }
- if (second == 47)
- {
- SetPlayerTime(i,10,47);
- }
- if (second == 48)
- {
- SetPlayerTime(i,10,48);
- }
- if (second == 49)
- {
- SetPlayerTime(i,10,49);
- }
- if (second == 50)
- {
- SetPlayerTime(i,10,50);
- }
- if (second == 51)
- {
- SetPlayerTime(i,10,51);
- }
- if (second == 52)
- {
- SetPlayerTime(i,10,52);
- }
- if (second == 53)
- {
- SetPlayerTime(i,10,53);
- }
- if (second == 54)
- {
- SetPlayerTime(i,10,54);
- }
- if (second == 55)
- {
- SetPlayerTime(i,10,55);
- }
- if (second == 56)
- {
- SetPlayerTime(i,10,56);
- }
- if (second == 57)
- {
- SetPlayerTime(i,10,57);
- }
- if (second == 58)
- {
- SetPlayerTime(i,10,58);
- }
- if (second == 59)
- {
- SetPlayerTime(i,10,59);
- }
- }
- if (minute == 23 || minute == 47)
- {
- if (second == 0)
- {
- SetPlayerTime(i,11,0);
- }
- }
- }
- }
- }
- public OnPlayerSpawn(playerid)
- {
- TextDrawShowForPlayer(playerid, TextdrawSec);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement