Also die Erros habe ich eine von ICQ die den Script auch hat sagt da fehlt ne Klammer ihrgend wo
C:\Dokumente und Einstellungen\Administrator\Desktop\SAMP-0.3a\samp03asvr_win32\gf_suchtis-v601.pwn(45873) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Administrator\Desktop\SAMP-0.3a\samp03asvr_win32\gf_suchtis-v601.pwn(45904) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Administrator\Desktop\SAMP-0.3a\samp03asvr_win32\gf_suchtis-v601.pwn(45914) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Administrator\Desktop\SAMP-0.3a\samp03asvr_win32\gf_suchtis-v601.pwn(49477) : warning 203: symbol is never used: "Turfs"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
ZEILEN
:::::::::
1.]public OnVehicleMod(playerid,vehicleid,componentid)
{
if (playerid!=GetPlayerFromCarlistCar(vehicleid)) {return 1;}
if(playerid!=-1)
{
new mod=GetModType(componentid);
switch (mod)
{
case 1: { Carlist[playerid][mod1]=componentid; }
case 2: { Carlist[playerid][mod2]=componentid; }
case 3: { Carlist[playerid][mod3]=componentid; }
case 4: { Carlist[playerid][mod4]=componentid; }
case 5: { Carlist[playerid][mod5]=componentid; }
case 6: { Carlist[playerid][mod6]=componentid; }
case 7: { Carlist[playerid][mod7]=componentid; }
case 8: { Carlist[playerid][mod8]=componentid; }
case 9: { Carlist[playerid][mod9]=componentid; }
case 10: { Carlist[playerid][mod10]=componentid; }
case 11: { Carlist[playerid][mod11]=componentid; }
case 12: { Carlist[playerid][mod12]=componentid; }
case 13: { Carlist[playerid][mod13]=componentid; }
case 14: { Carlist[playerid][mod14]=componentid; }
case 15: { Carlist[playerid][mod15]=componentid; }
case 16: { Carlist[playerid][mod16]=componentid; }
case 17: { Carlist[playerid][mod17]=componentid; }
default: { new string[128]; format(string,128,"Unbekannte Komponentenid: %i",componentid); print(string); }
}
}
return 1;
}
2.public OnVehiclePaintjob(playerid,vehicleid, paintjobid)
{
if (playerid!=GetPlayerFromCarlistCar(vehicleid)) {return 1;}
if(playerid!=-1)
{
Carlist[playerid][Paintjob]=paintjobid;
}
return 1;
}
3.[code=c]public OnVehicleRespray(playerid,vehicleid, color1, color2)
{
if(playerid!=GetPlayerFromCarlistCar(vehicleid)) {return 1;}
if(playerid!=-1)
{
Carlist[playerid][Farbe1]=color1;
Carlist[playerid][Farbe2]=color2;
}
return 1;
}
4.[code=c] return 1;
}
Das letze bei Nr.4 die Zeile gibs net
MfG Freeway