26.06.2009, 05:20
I was trying to fix a mod called [Stunt'n'Drift'n'Race'n'Pwn]. And was fixing the rules in it. And when I go to compile it, I get this.
When I go to see what it's talking about it's pointing at these 3 lines
I don't get it!
Code:
C:\Documents and Settings\Ray\Desktop\GTA SAMP Server\gamemodes\xSDRP.pwn(2261) : error 025: function heading differs from prototype C:\Documents and Settings\Ray\Desktop\GTA SAMP Server\gamemodes\xSDRP.pwn(2267) : error 025: function heading differs from prototype C:\Documents and Settings\Ray\Desktop\GTA SAMP Server\gamemodes\xSDRP.pwn(2273) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
Code:
public OnVehicleMod(vehicleid,componentid) { SaveComponent(vehicleid,componentid); return 1; } public OnVehiclePaintjob(vehicleid,paintjobid) { SavePaintjob(vehicleid,paintjobid); return 1; } public OnVehicleRespray(vehicleid,color1,color2) { SaveColors(vehicleid,color1,color2); return 1; }