SA-MP Forums Archive
tAxI XVM [FS] ~Error~ Please help :) - 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: tAxI XVM [FS] ~Error~ Please help :) (/showthread.php?tid=123989)



tAxI XVM [FS] ~Error~ Please help :) - hardstop - 28.01.2010

When i compile tAxI XVM then i get these errors

Код:
C:\Documents and Settings\!nsane\Desktop\tAxI XVM [FS]\tAxI XVM [FS]\filterscripts\source\tAxI_XVM.pwn(1650) : error 025: function heading differs from prototype
C:\Documents and Settings\!nsane\Desktop\tAxI XVM [FS]\tAxI XVM [FS]\filterscripts\source\tAxI_XVM.pwn(1658) : error 025: function heading differs from prototype
C:\Documents and Settings\!nsane\Desktop\tAxI XVM [FS]\tAxI XVM [FS]\filterscripts\source\tAxI_XVM.pwn(1666) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.



Re: tAxI XVM [FS] ~Error~ Please help :) - ettans - 28.01.2010

Post the lines 1650, 1658 and 1666 please.


Re: tAxI XVM [FS] ~Error~ Please help :) - hardstop - 28.01.2010

1650
Код:
public OnVehicleMod(vehicleid,componentid)
1658
Код:
public OnVehiclePaintjob(vehicleid,paintjobid)
1666
Код:
public OnVehicleRespray(vehicleid,color1,color2)



Re: tAxI XVM [FS] ~Error~ Please help :) - biltong - 28.01.2010

You probably don't have the includes the script need, check at the top of the script, it should say
#include <a_samp>

and a few others, tell us what all those are.


Re: tAxI XVM [FS] ~Error~ Please help :) - hardstop - 28.01.2010

I have

#include <a_samp>
#include <dudb>
#include <time>
#include <file>
#include <float>
#pragma tabsize 0
#pragma dynamic 568000


Re: tAxI XVM [FS] ~Error~ Please help :) - hardstop - 29.01.2010

Somebody please help


Re: tAxI XVM [FS] ~Error~ Please help :) - Doppeyy - 29.01.2010

Did you do something weird with your includes then ?

[Doppeyy


Re: tAxI XVM [FS] ~Error~ Please help :) - hardstop - 29.01.2010

No just it works on 0.2x but doesnt work on 0.3


Re: tAxI XVM [FS] ~Error~ Please help :) - No-Half-Measures - 04.02.2010

Quote:
Originally Posted by hardstop
1650
Код:
public OnVehicleMod(vehicleid,componentid)
1658
Код:
public OnVehiclePaintjob(vehicleid,paintjobid)
1666
Код:
public OnVehicleRespray(vehicleid,color1,color2)
Just add playerid like this to them abouve,

1650
Код:
public OnVehicleMod(playerid,vehicleid,componentid)
1658
Код:
public OnVehiclePaintjob(playerid,vehicleid,paintjobid)
1666
Код:
public OnVehicleRespray(playerid,vehicleid,color1,color2)