Problem(error/warning)

Započeo Dusan5253, Decembar 13, 2021, 16:22:20 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning):https://imgur.com/cfVFHRQ https://imgur.com/a/LaOqqdE


Deo skripte[pawn]YCMD:dodajvozilo(playerid, params[], help)
{
   #pragma unused help
   #pragma unused params
   if(UlogovanIgrac[playerid] == 0 || PI[playerid][pReg] == 0) return Error(playerid, "{FF584C}[BE-AC]: Nisi ulogovan/a ili nisi registrovan/a!");
    if(PI[playerid][pAdmin] < 1 && gettime() < ACCmd[playerid]) return Error(playerid, "{FF584C}[BE-AC]: Komande mozete koristiti svake 2 sekunde!");
   ACCmd[playerid] = gettime()+2;
   if(IsPlayerConnected(playerid))
    {
        if(!strcmp(GetNameEx(playerid), Owner_1, true) || !strcmp(GetNameEx(playerid), Owner_2, true) || !strcmp(GetNameEx(playerid), Owner_3, true) || !strcmp(GetNameEx(playerid), Owner_4, true};
        {
            if(PI[playerid][pAdmin] < 6) return Error(playerid, "{FF584C}[BE-AC]: Ne mozes to!");
           if(UlogovanIgrac[playerid] == 0) return Error(playerid, "{FF584C}[BE-AC]: Nisi ulogovan!");
           new x_nr[30], kol;
         if(sscanf(params, "s[30]i", x_nr, kol))
         {
            Cmd(playerid, "/dodajvozilo (ime vozila) (kolicina)");
            SCM(playerid, -1, "Imena Vozila | sultan, infernus, bullet, turismo, huntley, admiral, blade, feltzer, remington, slamvan, fortune");
            SCM(playerid, -1, "Imena Vozila | comet, elegant, mesa, blista, greenwood, burrito, zr, walton, sabre, oceanic, glendale, banshee");
            SCM(playerid, -1, "Imena Vozila | premier, esperanto, cheetah, landstalker, sentinel, euros, club, alpha, phoenix, cadrona, clover");
            SCM(playerid, -1, "Imena Vozila | intruder, sunrise, merit, primo, tampa, yosemite, uranus, stratum, flash, tahoma, savanna, stafford");
            SCM(playerid, -1, "Imena Vozila | elegy, jester, journey");
             return true;
         }
         if(kol < 1 || kol > 10) return Error(playerid, "{FF584C}[BE-AC]: Kolicina ne moze biti manja od 1 ili veca od 10!");
         if(strfind(x_nr, "sultan", true) != -1) { SalonInfo[0][SultanSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Sultan.", kol); }
         else if(strfind(x_nr, "infernus", true) != -1) { SalonInfo[0][InfernusSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Infernus.", kol); }
         else if(strfind(x_nr, "bullet", true) != -1) { SalonInfo[0][BulletSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Bullet.", kol); }
         else if(strfind(x_nr, "turismo", true) != -1) { SalonInfo[0][TurismoSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Turismo.", kol); }
         else if(strfind(x_nr, "huntley", true) != -1) { SalonInfo[0][HuntleySV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Huntley.", kol); }
         else if(strfind(x_nr, "admiral", true) != -1) { SalonInfo[0][AdmiralSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Admiral.", kol); }
         else if(strfind(x_nr, "blade", true) != -1) { SalonInfo[0][BladeSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Blade.", kol); }
         else if(strfind(x_nr, "feltzer", true) != -1) { SalonInfo[0][FeltzerSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Feltzer.", kol); }
         else if(strfind(x_nr, "remington", true) != -1) { SalonInfo[0][RemingtonSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Remington.", kol); }
         else if(strfind(x_nr, "slamvan", true) != -1) { SalonInfo[0][SlamvanSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Slamvan.", kol); }
         else if(strfind(x_nr, "fortune", true) != -1) { SalonInfo[0][FortuneSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Fortune.", kol); }
         else if(strfind(x_nr, "comet", true) != -1) { SalonInfo[0][CometSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Comet.", kol); }
         else if(strfind(x_nr, "elegant", true) != -1) { SalonInfo[0][ElegantSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Elegant.", kol); }
         else if(strfind(x_nr, "mesa", true) != -1) { SalonInfo[0][MesaSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Mesa.", kol); }
         else if(strfind(x_nr, "blista", true) != -1) { SalonInfo[0][BlistaSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Blista Compact.", kol); }
         else if(strfind(x_nr, "greenwood", true) != -1) { SalonInfo[0][GreenwoodSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Greenwood.", kol); }
         else if(strfind(x_nr, "burrito", true) != -1) { SalonInfo[0][BurritoSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Burrito.", kol); }
         else if(strfind(x_nr, "zr", true) != -1) { SalonInfo[0][ZRSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke ZR-350.", kol); }
         else if(strfind(x_nr, "walton", true) != -1) { SalonInfo[0][WaltonSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Walton.", kol); }
         else if(strfind(x_nr, "sabre", true) != -1) { SalonInfo[0][SabreSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Sabre.", kol); }
         else if(strfind(x_nr, "oceanic", true) != -1) { SalonInfo[0][OceanicSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Oceanic.", kol); }
         else if(strfind(x_nr, "glendale", true) != -1) { SalonInfo[0][GlendaleSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Glendale.", kol); }
         else if(strfind(x_nr, "banshee", true) != -1) { SalonInfo[0][BansheeSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Banshee.", kol); }
         else if(strfind(x_nr, "premier", true) != -1) { SalonInfo[0][PremierSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Premier.", kol); }
         else if(strfind(x_nr, "esperanto", true) != -1) { SalonInfo[0][EsperantoSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Esperanto.", kol); }
         else if(strfind(x_nr, "cheetah", true) != -1) { SalonInfo[0][CheetahSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Cheetah.", kol); }
         else if(strfind(x_nr, "landstalker", true) != -1) { SalonInfo[0][LandstalkerSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Landstalker.", kol); }
         else if(strfind(x_nr, "sentinel", true) != -1) { SalonInfo[0][SentinelSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Sentinel.", kol); }
         else if(strfind(x_nr, "euros", true) != -1) { SalonInfo[0][EurosSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Euros.", kol); }
         else if(strfind(x_nr, "club", true) != -1) { SalonInfo[0][ClubSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Club.", kol); }
         else if(strfind(x_nr, "alpha", true) != -1) { SalonInfo[0][AlphaSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Alpha.", kol); }
         else if(strfind(x_nr, "phoenix", true) != -1) { SalonInfo[0][PhoenixSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Phoenix.", kol); }
         else if(strfind(x_nr, "cadrona", true) != -1) { SalonInfo[0][CadronaSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Cadrona.", kol); }
         else if(strfind(x_nr, "clover", true) != -1) { SalonInfo[0][CloverSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Clover.", kol); }
         else if(strfind(x_nr, "intruder", true) != -1) { SalonInfo[0][IntruderSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Intruder.", kol); }
         else if(strfind(x_nr, "sunrise", true) != -1) { SalonInfo[0][SunriseSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Sunrise.", kol); }
         else if(strfind(x_nr, "merit", true) != -1) { SalonInfo[0][MeritSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Merit.", kol); }
         else if(strfind(x_nr, "primo", true) != -1) { SalonInfo[0][PrimoSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Primo.", kol); }
         else if(strfind(x_nr, "tampa", true) != -1) { SalonInfo[0][TampaSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Tampa.", kol); }
         else if(strfind(x_nr, "yosemite", true) != -1) { SalonInfo[0][YosemiteSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Yosemite.", kol); }
         else if(strfind(x_nr, "uranus", true) != -1) { SalonInfo[0][UranusSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Uranus.", kol); }
         else if(strfind(x_nr, "stratum", true) != -1) { SalonInfo[0][StratumSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Stratum.", kol); }
         else if(strfind(x_nr, "flash", true) != -1) { SalonInfo[0][FlashSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Flash.", kol); }
         else if(strfind(x_nr, "tahoma", true) != -1) { SalonInfo[0][TahomaSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Tahoma.", kol); }
         else if(strfind(x_nr, "savanna", true) != -1) { SalonInfo[0][SavannaSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Savanna.", kol); }
         else if(strfind(x_nr, "stafford", true) != -1) { SalonInfo[0][StaffordSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Stafford.", kol); }
         else if(strfind(x_nr, "elegy", true) != -1) { SalonInfo[0][ElegySV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Elegy.", kol); }
         else if(strfind(x_nr, "jester", true) != -1) { SalonInfo[0][JesterSV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Jester.", kol); }
         else if(strfind(x_nr, "journey", true) != -1) { SalonInfo[0][JourneySV] += kol; SCMF(playerid, -1, "{007FFF}CR:RP » {FFFFFF}Dodali ste %d vozila marke Journey.", kol); }
         else return Error(playerid, "{FF584C}[BE-AC]: Pogresna vrsta vozila!");
      }
   }
   return true;
}[/pawn]
Poslednja Izmena: Decembar 14, 2021, 01:27:04 PRE PODNE od мυмα

Evo ti lock jer radiš dp kao degenerik