mardi 19 juillet 2016

Invalid Expression

I can't seem to find the error in this statement?

Code:

downtown.pwn(20317) : warning 217: loose indentation
downtown.pwn(20317) : error 029: invalid expression, assumed zero

downtown.pwn(20332) : warning 217: loose indentation
downtown.pwn(20332) : error 029: invalid expression, assumed zero

downtown.pwn(20347) : warning 217: loose indentation
downtown.pwn(20347) : error 029: invalid expression, assumed zero
LINE 20317

Code:

                if(playertextid == DealershipCatBike[playerid])
                {
                        new cardealerid = GetClosestCarDealerShip(playerid);
                        if(cardealerid != 1)
                        {
                                SCM(playerid, COLOR_GREEN, "You clicked Bikes!");
                                HideDealershipCats(playerid);
                                SetIntVar(playerid, "SelectingVehicle", 1);
                                //ShowDealershipBuyTextdraw(playerid);
   `        } <<<<<<<<<<<<<<<<< THIS LINE HERE
                        else
                        {
                                SCM(playerid, COLOR_RED, "This is not a car dealership!");
                        }
                }
The rest are the same just diffrent vars

Let's block ads! (Why?)



Invalid Expression

Aucun commentaire:

Enregistrer un commentaire