Jump to content
  • 0

setcarplate error


Guest ionutzz23

Question

Guest ionutzz23

       if(strcmp(cmd,"/setcarplate",true) == 0)
	{
		if(!IsPlayerInAnyVehicle(playerid)) return 0;
		tmp = strtok(cmdtext, idx);
		if(!strlen(tmp)) return SendClientMessage(playerid,COLOR_WHITE,"Usage: /SetCarPlate [Text]");
		SetVehicleNumberPlate(GetPlayerVehicleID(playerid),tmp);
		SetVehicleToRespawn(GetPlayerVehicleID(playerid));
		SetTimerEx("GiveCarBack",1500,0,"dd",playerid,GetPlayerVehicleID(playerid));
		return 1;
	}

dece nu merge? merge sa scriu  cand sunt in masina/motor /setcarplate dar daca scruy /setcarplate

LA-03-LSC nu merge.. ma puteti ajuta? va rog

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Aceasta functie a fost scoasa in 0.3

Cine spune ?

@ionutzz23, sincer n-am mai folosit-o de mult, dar aici spune ca totul e in regula, DAR, din cate stiu unele masini sunt buguite, adica nu le poti schimba nr de inmatriculare. Iti recomand sa nu folosesti functia pt ca oricum nu schimba cu mult experienta jocului (serverlui).

-Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index

Link to comment
Share on other sites

cmg , traiesti degeaba pe forumul asta

Kye:
Notes:

- SetVehicleNumberplate does not work. This function can't work due to SA's internal coding which only assigns 1 numplate per vehicle model. The function itself will be left in for future use if it can be made to work.

Buna asta.

1. Nu traiesc pe forumul asta, spre deosebire de altii,

2. Nu am vazut postul ala, am citit doar pe wiki, pt ca eu, spre deosebire de altii, nu stau sa citesc forumurile sa-mp toata ziulica...

3. Vezi cum vorbesti prietene.

-Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index

Link to comment
Share on other sites

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

    • By TheGodfather
      Salut, aveti idee cum pot sa rezolv problema aceasta?
      [02:54:59] Loading plugin: streamer.so
      [02:54:59] Failed (/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by plugins/streamer.so))
    • 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 Wreeper
      Linia in cauza: SetPlayerName(id, amount);
      Daca scot chestia asta, merge total perfect functia..
      De ce se intampla asta?
    • 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
      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.