Server mi pada nakon nekog vremena?

Započeo Pokusaj scriptera, Jun 07, 2017, 21:39:02 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: ////
Detaljan opis problema: Server pada
Dio skripte: https://pastebin.com/A39fmrav
Neke slike/video za lakse dobivanje pomoci(neobavezno): https://pastebin.com/A39fmrav
Poslednja Izmena: Jun 08, 2017, 13:21:59 POSLE PODNE od MEDO

komentiraj komandu report pa probaj opet, ukoliko ne bude dolazilo do padanja, postavi kodove.
[pawn]/* cmd... */[/pawn]


bilo je lijepo dok je trajalo.


Evo ih codovi srw pada zbog ovog report-a i ja sad hocu da se skloni ta komanda reportlist i da se ubaci samo kad neko report-a da izadje adminima [REPORT] taj i taj igrac i tjt
[pawn]CMD:reportlist(playerid, params[])
{
   if(PI[playerid][pAdmin] < 1 && PI[playerid][pSupporter] < 1) return Error(playerid, "Nisi ovlascen!");
   new asklist[1024];
   format(asklist, 1024, "1) - %s\n2) - %s\n3) - %s\n4) - %s\n5) - %s\n NEXT PAGE ",
   ReportListString(1), ReportListString(2), ReportListString(3), ReportListString(4), ReportListString(5));
   g_SPD(playerid, D_REPORTLIST, DSL, ""COL_UG"Report list (Slot / Igrac / Pitanje)", asklist, "Izaberi", "Izadji");
   return true;
}

CMD:report(playerid,params[])
{
   if(PI[playerid][pMute] == 1) return Error(playerid, "Ne mozes to, ucutkan si.");
   if(TV[playerid] == 1) return Error(playerid, "Gledas tv, ne mozes to!");
   if(Zavezan[playerid] > 0 || Tazovan[playerid] > 0) return Error(playerid, "Ne mozete to dok ste zavezani/sokirani! (zbog psovanja)");
   if(kLol[playerid] > 0) return Error(playerid, "Ne mozete to!");
   if(RentAuto(GetPlayerVehicleID(playerid)) && Rentao[playerid] == 9999 && GetPlayerState(playerid) == PL_ST_DRIVER) return Error(playerid, "Ne mozes da radis BA!");
   if(PI[playerid][pJailed] > 0) return Error(playerid, "Ne mozes to, zatvoren si.");
   if(UlogovanIgrac[playerid] == 0) return Error(playerid, "Nisi ulogovan!");
   if(strlen(PI[playerid][pPitanjeText]) > 5) return Error(playerid, "Vec imas jedno postavljeno pitanje, pusti i druge da pitaju!");
   if(100 > iz_GetPlayerMoney(playerid)) return Error(playerid, "Potrebno ti je $100!");
   if(areport == 1) return Error(playerid, "Admin-i su iskljucili ovu opciju trenutno!");
   if(ReportListFreeID(1)) { }
   else if(ReportListFreeID(2))  { }
   else if(ReportListFreeID(3))  { }
   else if(ReportListFreeID(4))  { }
   else if(ReportListFreeID(5))  { }
   else if(ReportListFreeID(6))  { }
   else if(ReportListFreeID(7))  { }
   else if(ReportListFreeID(8))  { }
   else if(ReportListFreeID(9))  { }
   else if(ReportListFreeID(10)) { }
   else if(ReportListFreeID(11)) { }
   else if(ReportListFreeID(12)) { }
   else if(ReportListFreeID(13)) { }
   else if(ReportListFreeID(14)) { }
   else if(ReportListFreeID(15)) { }
   else if(ReportListFreeID(16)) { }
   else if(ReportListFreeID(17)) { }
   else if(ReportListFreeID(18)) { }
   else if(ReportListFreeID(19)) { }
   else if(ReportListFreeID(20)) { }
   else if(ReportListFreeID(20)) { }
   else return Error(playerid, "Trenutno je puna lista reportova, sacekajte malo!");
   if(PI[playerid][pAdmin] < 1 && gettime() < ACText[playerid])
   {
      Error(playerid, "Chat mozete koristiti svake 2 sekunde.");
      return true;
   }
   ACText[playerid] = gettime() + 2;
   if(OpetAdm[playerid] == 1) return Error(playerid, "Sacekaj malo.");
   g_SPD(playerid, DIALOG_REPORT, DSI, ""COL_UG"Prijavi", "{FFFFFF}Unesite prijavu koje zelite\ndostaviti Admin-ima/supporterima!\n\n(prijava kosta $100)","Unesi","Izadji");
   return true;
}[/pawn]

Citat: OmeRRR poslato Jun 07, 2017, 23:48:59 POSLE PODNE
Evo ih codovi srw pada zbog ovog report-a i ja sad hocu da se skloni ta komanda reportlist i da se ubaci samo kad neko report-a da izadje adminima [REPORT] taj i taj igrac i tjt
[pawn]CMD:reportlist(playerid, params[])
{
   if(PI[playerid][pAdmin] < 1 && PI[playerid][pSupporter] < 1) return Error(playerid, "Nisi ovlascen!");
   new asklist[1024];
   format(asklist, 1024, "1) - %s\n2) - %s\n3) - %s\n4) - %s\n5) - %s\n NEXT PAGE ",
   ReportListString(1), ReportListString(2), ReportListString(3), ReportListString(4), ReportListString(5));
   g_SPD(playerid, D_REPORTLIST, DSL, ""COL_UG"Report list (Slot / Igrac / Pitanje)", asklist, "Izaberi", "Izadji");
   return true;
}

CMD:report(playerid,params[])
{
   if(PI[playerid][pMute] == 1) return Error(playerid, "Ne mozes to, ucutkan si.");
   if(TV[playerid] == 1) return Error(playerid, "Gledas tv, ne mozes to!");
   if(Zavezan[playerid] > 0 || Tazovan[playerid] > 0) return Error(playerid, "Ne mozete to dok ste zavezani/sokirani! (zbog psovanja)");
   if(kLol[playerid] > 0) return Error(playerid, "Ne mozete to!");
   if(RentAuto(GetPlayerVehicleID(playerid)) && Rentao[playerid] == 9999 && GetPlayerState(playerid) == PL_ST_DRIVER) return Error(playerid, "Ne mozes da radis BA!");
   if(PI[playerid][pJailed] > 0) return Error(playerid, "Ne mozes to, zatvoren si.");
   if(UlogovanIgrac[playerid] == 0) return Error(playerid, "Nisi ulogovan!");
   if(strlen(PI[playerid][pPitanjeText]) > 5) return Error(playerid, "Vec imas jedno postavljeno pitanje, pusti i druge da pitaju!");
   if(100 > iz_GetPlayerMoney(playerid)) return Error(playerid, "Potrebno ti je $100!");
   if(areport == 1) return Error(playerid, "Admin-i su iskljucili ovu opciju trenutno!");
   if(ReportListFreeID(1)) { }
   else if(ReportListFreeID(2))  { }
   else if(ReportListFreeID(3))  { }
   else if(ReportListFreeID(4))  { }
   else if(ReportListFreeID(5))  { }
   else if(ReportListFreeID(6))  { }
   else if(ReportListFreeID(7))  { }
   else if(ReportListFreeID(8))  { }
   else if(ReportListFreeID(9))  { }
   else if(ReportListFreeID(10)) { }
   else if(ReportListFreeID(11)) { }
   else if(ReportListFreeID(12)) { }
   else if(ReportListFreeID(13)) { }
   else if(ReportListFreeID(14)) { }
   else if(ReportListFreeID(15)) { }
   else if(ReportListFreeID(16)) { }
   else if(ReportListFreeID(17)) { }
   else if(ReportListFreeID(18)) { }
   else if(ReportListFreeID(19)) { }
   else if(ReportListFreeID(20)) { }
   else if(ReportListFreeID(20)) { }
   else return Error(playerid, "Trenutno je puna lista reportova, sacekajte malo!");
   if(PI[playerid][pAdmin] < 1 && gettime() < ACText[playerid])
   {
      Error(playerid, "Chat mozete koristiti svake 2 sekunde.");
      return true;
   }
   ACText[playerid] = gettime() + 2;
   if(OpetAdm[playerid] == 1) return Error(playerid, "Sacekaj malo.");
   g_SPD(playerid, DIALOG_REPORT, DSI, ""COL_UG"Prijavi", "{FFFFFF}Unesite prijavu koje zelite\ndostaviti Admin-ima/supporterima!\n\n(prijava kosta $100)","Unesi","Izadji");
   return true;
}[/pawn]
Citaj pm.


bilo je lijepo dok je trajalo.


Citat: Bašovski poslato Jun 08, 2017, 00:02:40 PRE PODNE
Citat: OmeRRR poslato Jun 07, 2017, 23:48:59 POSLE PODNE
Evo ih codovi srw pada zbog ovog report-a i ja sad hocu da se skloni ta komanda reportlist i da se ubaci samo kad neko report-a da izadje adminima [REPORT] taj i taj igrac i tjt
[pawn]CMD:reportlist(playerid, params[])
{
   if(PI[playerid][pAdmin] < 1 && PI[playerid][pSupporter] < 1) return Error(playerid, "Nisi ovlascen!");
   new asklist[1024];
   format(asklist, 1024, "1) - %s\n2) - %s\n3) - %s\n4) - %s\n5) - %s\n NEXT PAGE ",
   ReportListString(1), ReportListString(2), ReportListString(3), ReportListString(4), ReportListString(5));
   g_SPD(playerid, D_REPORTLIST, DSL, ""COL_UG"Report list (Slot / Igrac / Pitanje)", asklist, "Izaberi", "Izadji");
   return true;
}

CMD:report(playerid,params[])
{
   if(PI[playerid][pMute] == 1) return Error(playerid, "Ne mozes to, ucutkan si.");
   if(TV[playerid] == 1) return Error(playerid, "Gledas tv, ne mozes to!");
   if(Zavezan[playerid] > 0 || Tazovan[playerid] > 0) return Error(playerid, "Ne mozete to dok ste zavezani/sokirani! (zbog psovanja)");
   if(kLol[playerid] > 0) return Error(playerid, "Ne mozete to!");
   if(RentAuto(GetPlayerVehicleID(playerid)) && Rentao[playerid] == 9999 && GetPlayerState(playerid) == PL_ST_DRIVER) return Error(playerid, "Ne mozes da radis BA!");
   if(PI[playerid][pJailed] > 0) return Error(playerid, "Ne mozes to, zatvoren si.");
   if(UlogovanIgrac[playerid] == 0) return Error(playerid, "Nisi ulogovan!");
   if(strlen(PI[playerid][pPitanjeText]) > 5) return Error(playerid, "Vec imas jedno postavljeno pitanje, pusti i druge da pitaju!");
   if(100 > iz_GetPlayerMoney(playerid)) return Error(playerid, "Potrebno ti je $100!");
   if(areport == 1) return Error(playerid, "Admin-i su iskljucili ovu opciju trenutno!");
   if(ReportListFreeID(1)) { }
   else if(ReportListFreeID(2))  { }
   else if(ReportListFreeID(3))  { }
   else if(ReportListFreeID(4))  { }
   else if(ReportListFreeID(5))  { }
   else if(ReportListFreeID(6))  { }
   else if(ReportListFreeID(7))  { }
   else if(ReportListFreeID(8))  { }
   else if(ReportListFreeID(9))  { }
   else if(ReportListFreeID(10)) { }
   else if(ReportListFreeID(11)) { }
   else if(ReportListFreeID(12)) { }
   else if(ReportListFreeID(13)) { }
   else if(ReportListFreeID(14)) { }
   else if(ReportListFreeID(15)) { }
   else if(ReportListFreeID(16)) { }
   else if(ReportListFreeID(17)) { }
   else if(ReportListFreeID(18)) { }
   else if(ReportListFreeID(19)) { }
   else if(ReportListFreeID(20)) { }
   else if(ReportListFreeID(20)) { }
   else return Error(playerid, "Trenutno je puna lista reportova, sacekajte malo!");
   if(PI[playerid][pAdmin] < 1 && gettime() < ACText[playerid])
   {
      Error(playerid, "Chat mozete koristiti svake 2 sekunde.");
      return true;
   }
   ACText[playerid] = gettime() + 2;
   if(OpetAdm[playerid] == 1) return Error(playerid, "Sacekaj malo.");
   g_SPD(playerid, DIALOG_REPORT, DSI, ""COL_UG"Prijavi", "{FFFFFF}Unesite prijavu koje zelite\ndostaviti Admin-ima/supporterima!\n\n(prijava kosta $100)","Unesi","Izadji");
   return true;
}[/pawn]
Citaj pm takodje xD