function heading differs from prototype (but it doesn't?)
#1

pawn Код:
forward OnVehicleMod(vehicleid,componentid);
public OnVehicleMod(vehicleid,componentid)
{
    SaveComponent(vehicleid, componentid);
    return 1;
}
I cant see where it differs, can you?
Reply
#2

pawn Код:
public OnVehicleMod(playerid, vehicleid, componentid)
{ return true; }
You missed "playerid" also, no need to forward. The function is integrated.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)