SA-MP Forums Archive
Errors. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors. (/showthread.php?tid=328384)



Errors. - The__ - 24.03.2012

error 035: argument type mismatch (argument 7)

pawn Код:
new engine,lights,alarm,doors,bonnet,boot,objective;
new veh = GetClosestVehicle(playerid, 3.0);
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
if(GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,VEHICLE_PARAMS_OFF,objective)
{
    ...
}



Re: Errors. - XePloiT - 24.03.2012

you forgot ')' for the "if"...
replace:
Quote:

if(GetVehicleParamsEx(veh,engine,lights,alarm,door s,bonnet,VEHICLE_PARAMS_OFF,objective))




Re: Errors. - The__ - 24.03.2012

Same error...


Re: Errors. - The__ - 24.03.2012

Fixed.
pawn Код:
if(boot == VEHICLE_PARAMS_ON)