22.10.2009, 16:37
Now I have this error and Warning
3065 - 3076
4547 - 4550 Delete function
Код:
C:\Users\Rainer\Desktop\samp03asvr_win32\gamemodes\RL.pwn(3065) : error 025: function heading differs from prototype C:\Users\Rainer\Desktop\samp03asvr_win32\gamemodes\RL.pwn(4547) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
public OnVehicleRespray(vehicleid, color1, color2) { if(CarInfo[vehicleid][cTuned] == 1) { ChangeVehiclePaintjob(vehicleid, CarInfo[vehicleid][cColor3]); } else { ChangeVehicleColor(vehicleid, CarInfo[vehicleid][cColor1], CarInfo[vehicleid][cColor2]); } return 1; }
Код:
public OnPlayerPrivmsg(playerid, recieverid, text[]) { return 0; }