04.02.2009, 14:13
any time i have this problem , it has to do with forwarding;
how i see the stuff, is the variables that you define in forward are diffrent then the one on public:
for example:
NOTE THAT THIS IS WRONG!, if i would compile this code, it will errror with the same error you got;
make sure the variables are completely the same;
for example i did above it would be:
so, check if this is right in your script/includes
how i see the stuff, is the variables that you define in forward are diffrent then the one on public:
for example:
pawn Код:
forward OnVehicleMod(playerid,vehiclIEd,componentid);
public OnVehicleMod(playerid,vehicleid,componentid)
{
return 1;
}
make sure the variables are completely the same;
for example i did above it would be:
pawn Код:
forward OnVehicleMod(playerid,vehicleid,componentid);
public OnVehicleMod(playerid,vehicleid,componentid)
{
return 1;
}