Realy wierd thing...
#1

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?
Reply
#2

What do you have into this public?
Reply
#3

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;
}
Reply
#4

Ok thx for help anyway, but i just deleted this out and works perfect lol.
Reply


Forum Jump:


Users browsing this thread: