Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted (edited)

Salut am o eroare si nu am dau seama cum o pot rezolva

(1786) : error 012: invalid function call, not a valid address
(1786) : warning 215: expression has no effect
(1786) : error 001: expected token: ";", but found ")"
(1786) : error 029: invalid expression, assumed zero
(1786) : fatal error 107: too many error messages on one line 

1785    GetVehicleParamsEx(vehicle,engine,lights,alarm,doors,bonnet,boot,objective);
1786   if(doors == 1 || CarInfo[VehicleOwned(car)][cLocked] == 1) { status = "~r~Inchis~w~"; }
1787 else if(doors == 0 || CarInfo[VehicleOwned(car)][cLocked] == 0) { status = "~g~Deschis~w~"; }

Ms

 

EDIT Mai multe erori 

 

(1797) : error 017: undefined symbol "backVehicle"
(1797) : warning 215: expression has no effect
(1797) : error 001: expected token: ";", but found "]"
(1797) : error 029: invalid expression, assumed zero
(1797) : fatal error 107: too many error messages on one line

 

  1797  if(backVehicle[playerid] == 0) {
        if(Speed <= 0) { //n
            va_PlayerTextDrawSetString(playerid, kilometrajPTD[15], "~r~N"); 
        } else if(Speed > 0 && Speed < 30) { //1
            va_PlayerTextDrawSetString(playerid, kilometrajPTD[16], "~g~1"); 
        } else if(Speed > 30 && Speed < 100) { //2
            va_PlayerTextDrawSetString(playerid, kilometrajPTD[17], "~g~2"); 
        } else if(Speed > 100 && Speed < 150) { //3
            va_PlayerTextDrawSetString(playerid, kilometrajPTD[18], "~g~3"); 
        } else if(Speed > 150 && Speed < 190) { //4
            va_PlayerTextDrawSetString(playerid, kilometrajPTD[19], "~g~4"); 
        } else if(Speed > 190) { //5
            va_PlayerTextDrawSetString(playerid, kilometrajPTD[20], "~g~5"); 
        } 
    } else {
        va_PlayerTextDrawSetString(playerid, kilometrajPTD[21], "~b~R");
    }

 

Edited by cobalt_thekiller

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.