[Pomoc]

Započeo Luka_Scripting, April 05, 2020, 22:20:09 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Zna li neko kako da resim ovaj error koristim sacramento skriptu
Dio skripte:

[pawn]CMD:ah( playerid, params[] ) {

    new DialogStrgEx1[ 3072 ];
    if( PI[ playerid ][ pAdmin ] >= 1 )
   {

        strcat( DialogStrgEx1, ""COL_RED"ADMIN | "COL_WHITE" /ah /lr /a /ao /cc /ltcc /aduty /spec /specoff /(fv)fixveh /(fvi)fixvehigracu /slap /goto /gethere /pm /spawn /ovips\n");
      strcat( DialogStrgEx1, ""COL_RED"ADMIN | "COL_WHITE" /lp /kazniigraca /offkaznigraca /kick /freeze /unfreeze /zatvoreni /utisani /pweapons /aupali /afklist /adunblock\n");
      strcat( DialogStrgEx1, ""COL_RED"ADMIN | "COL_WHITE" /admini /ohelpers /opromoteri /rtc /nick /fchat /jetpack /eventhelp /rtcveh /check /alkatraz /jailrazlog\n");
      strcat( DialogStrgEx1, ""COL_RED"ADMIN | "COL_WHITE" /offmute /pustimuziku /unmute /invigraca /nitro /playercc /trazeni /jail /vipwarn /promoterwarn /unvipwarn\n");
        strcat( DialogStrgEx1, ""COL_RED"ADMIN | "COL_WHITE" /count /getcar /timeban /novajlije /freecamera /aport /speclist /acceptdrace /fine /mute /vpnlist /unpromoterwarn\n");
       strcat( DialogStrgEx1, ""COL_RED"ADMIN | "COL_WHITE" /gotocar /mark /gotomark /ukloniradio /revive /desetkazni /dmporuke /akviz /warn /akvizrestart /drzavaigraca /adblock\n\n");

      if( PI[ playerid ][ pAdmin ] >= 2 )
      {

            strcat( DialogStrgEx1, ""COL_RED"ADMIN 2 | "COL_WHITE" /kill /offmute /unmute /rb /rrb /rrball /skloniblokade  /disarm  /sethp /aclearwl\n");
         strcat( DialogStrgEx1, ""COL_RED"ADMIN 2 | "COL_WHITE" /setint /setvw /entercar /rtcradius /posaljinatut /skinisatuta /sethprad /setarmorrad\n\n");
      }
      if( PI[ playerid ][ pAdmin ] >= 3 )
      {

            strcat( DialogStrgEx1, ""COL_RED"ADMIN 3 | "COL_WHITE" /napunivozila /tod /vreme /proverikaznu /offdesetkazni /setarmor /offprison /ekreiraj /eunisti /owarn\n");
         strcat( DialogStrgEx1, ""COL_RED"ADMIN 3 | "COL_WHITE" /auninvite /ainvite /unjail /rac /givegun /setskin /rpplus /rpminus /togg /resetrob /ban /givegunrad\n\n");
      }
        if( PI[ playerid ][ pAdmin ] >= 5 )
      {

            strcat( DialogStrgEx1, ""COL_RED"HEAD ADMIN | "COL_WHITE" /makeleader /makehelper /healall /freezeall /unfreezeall /aktivnostigraca /proveriimovinu\n");
         strcat( DialogStrgEx1, ""COL_RED"HEAD ADMIN | "COL_WHITE" /smenilidera /spisakclanova /offauninvite /gotocp /apark /prison  /unwarn /multiips /aktivnostadmina\n");
            strcat( DialogStrgEx1, ""COL_RED"HEAD ADMIN | "COL_WHITE" /offban /allhelpers /togreport /togpomoc /nosms /togw /unprison /veh /multiacc /proverifirmu\n");
            strcat( DialogStrgEx1, ""COL_RED"HEAD ADMIN | "COL_WHITE" /unban /banip /unbanip /checkstats /allleaders /allpromoters /givemwrank /asetorgrank /askiniorgkaznu\n\n");
      }
      if( PI[ playerid ][ pAdmin ] >= 6 )
      {
          strcat( DialogStrgEx1, ""COL_RED"DIRECTOR | "COL_WHITE" /promenipol /oport /muteall /gethereall /razvedi /passwordigraca /dajdrogu /offrichlist /blacklist /blist\n");
         strcat( DialogStrgEx1, ""COL_RED"DIRECTOR | "COL_WHITE" /unmuteall /setjob /richlist /dboja /edit /setstat /invslotocisti /vozilaigraca /imeservera /asetorghours /anticheat\n");
            strcat( DialogStrgEx1, ""COL_RED"DIRECTOR | "COL_WHITE" /offstats /(aglagivelicense /listavozila /vozilazaaukciju /neaktivnost /givemoney /smenihelpera /playerrich /proverarada\n");
            strcat( DialogStrgEx1, ""COL_RED"DIRECTOR | "COL_WHITE" /promeniadminkod /smenipromotera /deleteacc /vozilaoffigraca /prodajoffvozilo /warnlist /smenimoderatora /avratistats /smeniadmina\n");
         strcat( DialogStrgEx1, ""COL_RED"DIRECTOR | "COL_WHITE" Ako ne radi kupovina kola za organizacije - /resetclaude\n\n");
      }

      if( PI[ playerid ][ pAdmin ] >= 7 )
      {
          strcat( DialogStrgEx1, ""COL_RED"OWNER | "COL_WHITE" /server /dajsvima /rokniupdate /kickall /makevip /alladmins /makeadmin /dopuniresurse /allowchangebname\n");
         strcat( DialogStrgEx1, ""COL_RED"OWNER | "COL_WHITE" /specijalnoime /1 /donatorskeboje /xgoto /dodajslotvozila /skinislotvozila /pumpa /smenivipa /uragan\n");
         strcat( DialogStrgEx1, ""COL_RED"OWNER | "COL_WHITE" /owneri /trenutnekordinate /hidenames /shownames /pomerilokaciju /aktivirajpoklone /getcarbysql");
      }


      SPD( playerid, HELP, DSM, ""COL_RED"Admin Komande", DialogStrgEx1, "Ok", "" );
   } else SCM( playerid, "Niste ovlasteni za koriscenje ove komande!");
   return 1;
}

[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
Slika/video ingame problema(obavezno ako je ingame problem):


C:\Users\Administrator\Desktop\BalkanX\gamemodes\sc_Script.pwn(94639) : error 035: argument type mismatch (argument 2)

//
Poslednja Izmena: April 05, 2020, 22:33:11 POSLE PODNE od Luka_Scripting