Help in Sief gm
#1

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
Reply
#2

redownload Dutils first from draco's site.
Reply
#3

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.
Reply
#4

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!
Reply
#5

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
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)