Jump to content
  • 0

Erori


cobalt_thekiller

Question

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
Link to comment
Share on other sites

2 answers 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.