Errors when trying to compile script
#1

Hello,

I have a problem when i wanna compile my script for a long time and i can't find out what is wrong.
Here the errors:

Код:
C:\Documents and Settings\AMDAthlonX2\Bureaublad\Sa-mp versions\RAR'S\GM\samp02Xserver.win32\gamemodes\TWr3.pwn(3394) : error 025: function heading differs from prototype
C:\Documents and Settings\AMDAthlonX2\Bureaublad\Sa-mp versions\RAR'S\GM\samp02Xserver.win32\gamemodes\TWr3.pwn(3400) : error 025: function heading differs from prototype
C:\Documents and Settings\AMDAthlonX2\Bureaublad\Sa-mp versions\RAR'S\GM\samp02Xserver.win32\gamemodes\TWr3.pwn(3406) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
and these are the lines:
Код:
public OnVehicleMod(vehicleid,componentid)
{
  if(onsys[vehicleid] == 1) SaveComponent(vehicleid,componentid);
	return 1;
}

public OnVehiclePaintjob(vehicleid,paintjobid)
{
  if(onsys[vehicleid] == 1) SavePaintjob(vehicleid,paintjobid);
	return 1;
}

public OnVehicleRespray(vehicleid,color1,color2)
{
  if(onsys[vehicleid] == 1) SaveColors(vehicleid,color1,color2);
  return 1;
}
what is the problem cause i need to fix my script?
Thnx if u can help me!
Reply


Messages In This Thread
Errors when trying to compile script - by Kempii - 17.07.2009, 17:44
Re: Errors when trying to compile script - by M4S7ERMIND - 17.07.2009, 17:53
Re: Errors when trying to compile script - by HuRRiCaNe - 17.07.2009, 17:58
Re: Errors when trying to compile script - by Kempii - 17.07.2009, 22:21

Forum Jump:


Users browsing this thread: 1 Guest(s)