Jump to content
  • 0

Eroare Pawno


xlion99x

Question

Salut, ma puteti ajuta va rog cu asta?  Am vrut sa adaug vehicle info cand intrii in masina gen sa apara in chat ca masina e detinuta de... are ..zile etc.

(5594) : error 075: input line too long (after substitutions)
(5595) : error 012: invalid function call, not a valid address
(5595) : error 017: undefined symbol "newcar"
(5595) : error 029: invalid expression, assumed zero
(5595) : fatal error 107: too many error messages on one line

 

     else if(CarInfo[carid][cID] != -2 && carid != 0) {
(5594)KillTimer(VehicleTimer[carid]);
(5595)format(string,sizeof(string),"This %s (ID %d) is owned by %s | Age: %d days | Odometer: %.0f km | Insurance: $%d (%d points) | Colors: %d, %d {FFFF00}[VIP]",CarInfo[VehicleOwned(newcar)][cDescription],CarInfo[VehicleOwned(newcar)][cID],CarInfo[VehicleOwned(newcar)][cOwner],CarInfo[VehicleOwned(newcar)][cDays],CarInfo[VehicleOwned(newcar)][cKM],CarInfo[VehicleOwned(newcar)][cInscarprice],CarInfo[VehicleOwned(newcar)][cInsurancecar],CarInfo[VehicleOwned(newcar)][cColorOne],CarInfo[VehicleOwned(newcar)][cColorTwo]);
            SendClientMessage(playerid, COLOR_WHITE, string);
            if(CarInfo[carid][cPoints] == 0) {
                SCM(playerid, COLOR_GREY, "Acest vehicul nu are asigurarea platita!");
                new engine,lights,alarm,doors,bonnet,boot,objective;
                GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
                  SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);        
                vehEngine[vehicleid] = 0;
            }
        }

560x95_FFFFFF_FF9900_000000_000000.png

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Salutare.

Textul tau este prea lung asta incearca sa iti zica eroarea, trebuie sa mai scoti din variabile sa faci propozitia mai scurta limita este de 128 de caractere la intrare si 144 la iesire daca nu ma înșel.

This %s (ID %d) is owned by %s | Age: %d days | Odometer: %.0f km | Insurance: $%d (%d points) | Colors: %d, %d {FFFF00}[VIP]

il poti imparti in 2 mesaje cel mai bine  daca vrei neaparat sa pastrezi toate informațiile 

  • Thanks 1

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.