Hi Leute, Wollte fragen ob mir jemand helfen kann habe 3 Fehler in der Inc und 1 Fehler in script
ZitatAlles anzeigenC:\Dokumente und Einstellungen\Administrator\Desktop\pawno\include\Double-O-Vehicles.inc(227) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Administrator\Desktop\pawno\include\Double-O-Vehicles.inc(241) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Administrator\Desktop\pawno\include\Double-O-Vehicles.inc(247) : error 025: function heading differs from prototype
C:\Reallife.pwn(18355) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Zeile von inc:
227: public OnVehicleMod(playerid, vehicleid, componentid)
241: public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
247: public OnVehicleRespray(playerid, vehicleid, color1, color2)
Fehler zum Script:
public Knast()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
new string[256];
if(PlayerInfo[i][pJailTime] > 0 && PlayerInfo[i][pJailTime] != NOT_JAILED && PlayerInfo[i][pJailed] == 1)
{
PlayerInfo[i][pJailTime]--;
format(string, sizeof(string), "Du musst noch %d Minuten absitzen!",PlayerInfo[i][pJailTime]);
SendClientMessage(i, COLOR_YELLOW, string);
}
else if(PlayerInfo[i][pJailTime] == 0)
{
PlayerInfo[i][pJailTime] = NOT_JAILED;
PlayerInfo[i][pJailed] = 0;
}
}
}
return 1; <---- Das Problemzeile
}
Danke Für Hilfe in voraus