tAxI XVM [FS] ~Error~ Please help :)
#1

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

Post the lines 1650, 1658 and 1666 please.
Reply
#3

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

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

I have

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

Somebody please help
Reply
#7

Did you do something weird with your includes then ?

[Doppeyy
Reply
#8

No just it works on 0.2x but doesnt work on 0.3
Reply
#9

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


Forum Jump:


Users browsing this thread: 1 Guest(s)