Functions heading ...
#5

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:

pawn Код:
forward OnVehicleMod(playerid,vehiclIEd,componentid);
public OnVehicleMod(playerid,vehicleid,componentid)
{
return 1;
}
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:
pawn Код:
forward OnVehicleMod(playerid,vehicleid,componentid);
public OnVehicleMod(playerid,vehicleid,componentid)
{
return 1;
}
so, check if this is right in your script/includes
Reply


Messages In This Thread
Functions heading ... - by SuperS0nic - 29.01.2009, 13:58
Re: Functions heading ... - by Nero_3D - 29.01.2009, 14:26
Re: Functions heading ... - by Mikep - 29.01.2009, 17:57
Re: Functions heading ... - by SuperS0nic - 04.02.2009, 12:56
Re: Functions heading ... - by maij - 04.02.2009, 14:13
Re: Functions heading ... - by Finn - 04.02.2009, 14:17

Forum Jump:


Users browsing this thread: 1 Guest(s)