Help in Sief gm - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help in Sief gm (
/showthread.php?tid=100750)
Help in Sief gm -
Taz86 - 06.10.2009
I added Dutils inc
And now it gives me this errors:
pawn Код:
C:\Documents and Settings\Administrator\щемзп дтбегд\PTPM\gamemodes\Ces.pwn(2261) : error 025: function heading differs from prototype
C:\Documents and Settings\Administrator\щемзп дтбегд\PTPM\gamemodes\Ces.pwn(2267) : error 025: function heading differs from prototype
C:\Documents and Settings\Administrator\щемзп дтбегд\PTPM\gamemodes\Ces.pwn(2273) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
The 3 lines:
2261:
pawn Код:
public OnVehicleMod(vehicleid,componentid)
{
SaveComponent(vehicleid,componentid);
return 1;
}
/*2267
public OnVehiclePaintjob(vehicleid,paintjobid)
{
SavePaintjob(vehicleid,paintjobid);
return 1;
}
/*2273
public OnVehicleRespray(vehicleid,color1,color2)
{
SaveColors(vehicleid,color1,color2);
return 1;
}
Thanks
Re: Help in Sief gm -
Matthew_Murdoch - 06.10.2009
redownload Dutils first from draco's site.
Re: Help in Sief gm -
Correlli - 06.10.2009
Use this:
pawn Код:
public OnVehicleMod(playerid, vehicleid, componentid)
{
SaveComponent(vehicleid, componentid);
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
SavePaintjob(vehicleid, paintjobid);
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
SaveColors(vehicleid, color1, color2);
return 1;
}
Quote:
Originally Posted by Matthew_Murdoch
redownload Dutils first from draco's site.
|
DUtils include has nothing to do with this problem.
Re: Help in Sief gm -
eXchainZ-FoReVeR - 06.10.2009
Hehe! Heres what I do... I go to those 3 lines and delete them :P It works :P
Thats what I always do when I download Seif's gamemode

Enjoy!
Re: Help in Sief gm -
Taz86 - 06.10.2009
Quote:
Originally Posted by Don Correlli
Use this:
pawn Код:
public OnVehicleMod(playerid, vehicleid, componentid) { SaveComponent(vehicleid, componentid); return 1; }
public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { SavePaintjob(vehicleid, paintjobid); return 1; }
public OnVehicleRespray(playerid, vehicleid, color1, color2) { SaveColors(vehicleid, color1, color2); return 1; }
Quote:
Originally Posted by Matthew_Murdoch
redownload Dutils first from draco's site.
|
DUtils include has nothing to do with this problem.
|
Thank you, Worked :P
Re: Help in Sief gm -
Matthew_Murdoch - 06.10.2009
Quote:
Originally Posted by Don Correlli
Use this:
pawn Код:
public OnVehicleMod(playerid, vehicleid, componentid) { SaveComponent(vehicleid, componentid); return 1; }
public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { SavePaintjob(vehicleid, paintjobid); return 1; }
public OnVehicleRespray(playerid, vehicleid, color1, color2) { SaveColors(vehicleid, color1, color2); return 1; }
Quote:
Originally Posted by Matthew_Murdoch
redownload Dutils first from draco's site.
|
DUtils include has nothing to do with this problem.
|
Well, oops my bad.
Don, can you help me in my thread.