SA-MP Forums Archive
errors 3 - 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: errors 3 (/showthread.php?tid=132598)



errors 3 - 02manchestera - 08.03.2010

These are the three lines

Код:
public OnVehicleMod(vehicleid,componentid)
Код:
public OnVehiclePaintjob(vehicleid,paintjobid)
Код:
public OnVehicleRespray(vehicleid,color1,color2)
and the errors
Код:
C:\Users\alex\Desktop\test server\TurfWar with Reg&login&Stats&biz&veh\TurfWar3 Reg&login Stats biz&veh\gamemodes\GangWars.pwn(3109) : error 025: function heading differs from prototype
C:\Users\alex\Desktop\test server\TurfWar with Reg&login&Stats&biz&veh\TurfWar3 Reg&login Stats biz&veh\gamemodes\GangWars.pwn(3115) : error 025: function heading differs from prototype
C:\Users\alex\Desktop\test server\TurfWar with Reg&login&Stats&biz&veh\TurfWar3 Reg&login Stats biz&veh\gamemodes\GangWars.pwn(3121) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Help would be greatful


Re: errors 3 - aircombat - 08.03.2010

this is the right format for them :

public OnVehicleMod(playerid, vehicleid, componentid)
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
public OnVehicleRespray(playerid, vehicleid, color1, color2)
________
SUZUKI DR-Z400 SPECIFICATIONS


Re: errors 3 - Oxside - 08.03.2010

Yeah next time just look in the includes for the defines


Re: errors 3 - 02manchestera - 08.03.2010

Thankyou for your help


Re: errors 3 - aircombat - 08.03.2010

urw
________
Mercedes-benz high performance engines


Re: errors 3 - Oxside - 10.03.2010


@ETCH gangster now too?


Re: errors 3 - aircombat - 10.03.2010

yes , need more 500 post to be high roller :P