Realy wierd thing... - 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: Realy wierd thing... (
/showthread.php?tid=82059)
Realy wierd thing... -
Extrak - 15.06.2009
error 025: function heading differs from prototype
i know this was told what to do in many topics it says i need to have: public OnVehicleRespray(playerid, vehicleid, color1, color2)
as you see, it doesnt work, i have it writed right but still it says that error, weird realy.
that line is:
Код:
public OnVehicleRespray(playerid, vehicleid, color1, color2)
can anyone tell me whats wrong in this line plz?
Re: Realy wierd thing... -
MenaceX^ - 15.06.2009
What do you have into this public?
Re: Realy wierd thing... -
Extrak - 15.06.2009
Quote:
Originally Posted by MenaceX^
What do you have into this public?
|
this is what's under this public OnVehicleRespray
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
VehicleHealth[gLastDriver[vehicleid]] = 1000;
ChangeVehicleColor(vehicleid, color1, color2);
CarInfo[VehicleKey[vehicleid]][cColorOne] = color1;
}
Re: Realy wierd thing... -
Extrak - 15.06.2009
Ok thx for help anyway, but i just deleted this out and works perfect lol.