Jump to content
  • 0

Error


Scott_Williams

Question

Salut am facut masinile de la lspd cu /oldcar le-am bagat in gm.. dau compiler si acm imi da eroarea asta : D:\SRVDES~1\MRILLU~1\GAMEMO~1\GF_RO2~1.PWN(2386) : error 075: input line too long (after substitutions)

public IsACopCar(carid)

{ <------ asta e linia

if(carid == 46 || carid == 141 || carid == 58 || carid == 142 || carid == 143 || carid == 144 || carid == 45 || carid == 41 || carid == 282 || carid == 47 || carid == 61 || carid == 62 || carid == 259 || carid == 54 || carid == 152 || carid == 40 || carid == 264 || carid == 151 || carid == 140 || carid == 280 || carid == 153 || carid == 43 || carid == 44 || carid == 97 || carid == 96 || carid == 95 || carid == 57 || carid == 56 || carid == 48 || carid == 39 || carid == 260 || carid == 55 || carid == 258 || carid == 263)

{

  // if(carid == 59 || carid == 48) { return 0; }

return 1;

}

return 0;

}

AJUTATIMA VA ROG! Multumesc

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Salut am facut masinile de la lspd cu /oldcar le-am bagat in gm.. dau compiler si acm imi da eroarea asta : D:\SRVDES~1\MRILLU~1\GAMEMO~1\GF_RO2~1.PWN(2386) : error 075: input line too long (after substitutions)

public IsACopCar(carid)

{ <------ asta e linia

if(carid == 46 || carid == 141 || carid == 58 || carid == 142 || carid == 143 || carid == 144 || carid == 45 || carid == 41 || carid == 282 || carid == 47 || carid == 61 || carid == 62 || carid == 259 || carid == 54 || carid == 152 || carid == 40 || carid == 264 || carid == 151 || carid == 140 || carid == 280 || carid == 153 || carid == 43 || carid == 44 || carid == 97 || carid == 96 || carid == 95 || carid == 57 || carid == 56 || carid == 48 || carid == 39 || carid == 260 || carid == 55 || carid == 258 || carid == 263)

{

  // if(carid == 59 || carid == 48) { return 0; }

return 1;

}

return 0;

}

AJUTATIMA VA ROG! Multumesc

Sunt prea lungi liniile, uploadeaza IsACopCar pe solidfiles intr-un notepad, ca aici nu se vede bine.
Link to comment
Share on other sites

Ti-am refacut eu functia, fara id-uri de vehicule ci modele ;)

public IsACopCar(carid)
{
	if(GetVehicleModel(carid) == 427 || GetVehicleModel(carid) == 428 || GetVehicleModel(carid) == 433 || GetVehicleModel(carid) == 596 || GetVehicleModel(carid) == 597 || GetVehicleModel(carid) == 598 || GetVehicleModel(carid) == 599 || GetVehicleModel(carid) == 601)
	{ return 1; }
	return 0;
}

am pus aceste vehicule:

Vehicle_427.jpgVehicle_428.jpgVehicle_433.jpgVehicle_596.jpg

Vehicle_597.jpgImage:Vehicle_598.jpgVehicle_599.jpgVehicle_601.jpg

Daca vrei sa mai adaugi uita-te aici: http://wiki.sa-mp.com/wiki/Vehicles:All

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By Matei02Mihai
      Salut. Am vrut sa fac un gamemode micut pentru vizualizarea modpack-urilor, dar atunci cand pornesc serverul, imi da eroarea <<[09:35:17] Script[gamemodes/modpacks.amx]: Run time error 19: "File or function is not found">>. Am incercat sa pun acelasi gamemode pe un alt server. Acolo imi merge cum trebuie. Daca intru pe server cu acea eroare, face bugul ala clasic: te da sub pamant in spate la farmer, iar dupa te spawneaza in acelasi loc, dar pe pamant. Am incercat mai multe metode cu care credeam ca pot fixa bugul, cum ar fi:
      - deschiderea serverului cu drepturi de administrator;
      - schimbarea locatiei serverului;
      - instalarea .net framework 3.5;
      - reacerea serverului
      - dezactivare optiunii "Doar in citire"
    • By Andrei SA-MP
      public OnPlayerConnect(playerid) {
           gQuery[0] = EOS;
           mysql_format(SQL, gQuery, sizeof(gQuery), "SELECT * FROM `users` WHERE `Name` = '%s' LIMIT 1', GetName(playerid));
           mysql_tquery(SQL, gQuery, "checkAccount', "i", playerid);
           return 1;
    • By Wreeper
      Linia in cauza: SetPlayerName(id, amount);
      Daca scot chestia asta, merge total perfect functia..
      De ce se intampla asta?
    • By Andrei SA-MP
      SQL = mysql_connect("localhost", "root", "proiect", "");
    • By Wreeper
      YCMD:unjail(playerid, params[], help) {
          if(!playerVariables[playerid][pAdmin]) return adminOnly(playerid);
          new id,reason[128];
          
          if(sscanf(params, "uis[128]", id,reason)) return sendUsage(playerid, "/unjail [name/playerid] [reason]");
          if(!isPlayerLogged(id) || id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Player not connected.");
          if(playerVariables[id][pJailTime] == 0) return SCM(playerid, COLOR_WHITE, "This player is not in jail.");
          ResetWeapons(id);
          WantedPoints[id] = 0;
          playerVariables[id][pJailed] = 0;
          playerVariables[id][pJailTime] = 0;
          SpawnPlayer(id);
          SendAdminMessage(COLOR_RED2, "Jail: %s was unjailed by %s, reason: %s.", GetName(id), GetName(playerid),reason);
          SCMF(id, COLOR_RED2, "Administrator %s has released you from jail.", GetName(playerid));
          
          UpdateVar( id, "Jailed", playerVariables[ id ][ pJailed ] );
          UpdateVar( id, "JailTime", playerVariables[ id ][ pJailTime ] );
          return 1;
      }
       
      De ce se intampla asa ceva?
      Eroare: (18861) : error 035: argument type mismatch (argument 3)
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.