Jump to content
  • 0

Vehicle info on player enter in car


xlion99x

Question

Salut, ma puteti ajuta va rog cu asta?  Am vrut sa adaug vehicle info.

(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

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.