SA-MP Forums Archive
keep getting this error! HELP - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: keep getting this error! HELP (/showthread.php?tid=106464)



keep getting this error! HELP - Saurik - 03.11.2009

i keep getting the same error for three of the following commands
((error 025: function heading differs from prototype))

public OnVehicleMod (vehicleid,componentid)
{
SaveComponent(vehicleid,componentid);
return 1;
}

public OnVehiclePaintjob(vehicleid,paintjobid)
{
SavePaintjob(vehicleid,paintjobid);
return 1;
}

public OnVehicleRespray(vehicleid,color1,color2)
{
SaveColors(vehicleid,color1,color2);
return 1;
}


Re: keep getting this error! HELP - MadeMan - 03.11.2009

Can you show your SaveComponent, SavePaintjob and SaveColors functions?