[Error] Scripting Error.
#7

OMG, use search button. It answers all your questions.

Quote:
Originally Posted by N1ck3
Quote:
Originally Posted by Soniks
I have 3 errors

Код:
C:\Documents and Settings\Windows\Desktop\newgta\gamemodes\source\tAxIFR.pwn(2652) : error 025: function heading differs from prototype
C:\Documents and Settings\Windows\Desktop\newgta\gamemodes\source\tAxIFR.pwn(2658) : error 025: function heading differs from prototype
C:\Documents and Settings\Windows\Desktop\newgta\gamemodes\source\tAxIFR.pwn(2664) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
In this 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;
}
If you want to fix the error replace the on under eith this
Код:
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;
}
it fixed my error
Reply


Messages In This Thread
[Error] Scripting Error. - by aleksandra - 19.08.2009, 17:04
Re: [Error] Scripting Error. - by Correlli - 19.08.2009, 17:08
Re: [Error] Scripting Error. - by aleksandra - 19.08.2009, 17:18
Re: [Error] Scripting Error. - by Correlli - 19.08.2009, 17:21
Re: [Error] Scripting Error. - by aleksandra - 19.08.2009, 17:34
Re: [Error] Scripting Error. - by Correlli - 19.08.2009, 17:47
Re: [Error] Scripting Error. - by dafel2 - 19.08.2009, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)