Hallo ich habe bei folgendem Scriptteil:
if(strcmp("/ckey", cmdtext, true, 10) == 0)
{
new mv = MaxVeh;
if(mv > 1)
{
new car1id[256],car2id[256],car3id[256];
Dtc_PlayerKey[playerid] = 1;
format(car1id,CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400],28);
Dtc_PlayerKey[playerid] = 2;
format(car2id,CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400],28);
Dtc_PlayerKey[playerid] = 3;
format(car3id,CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400],28);
format(string,sizeof(string), "Fahrzeug %s\nFahrzeug %s\nFahrzeug %s\n",car1id,car2id,car3id);
ShowPlayerDialog(playerid,DIALOG_AUTOKEY,2,"Auto-Verwaltung",string,"Auswählen","Abbrechen");
}
return 1;
}
Folgende Fehler:
ZitatC:\Users\Administrator\Desktop\GTA\gamemodes\GTA.pwn(41690) : error 047: array sizes do not match, or destination array is too small
C:\Users\Administrator\Desktop\GTA\gamemodes\GTA.pwn(41692) : error 047: array sizes do not match, or destination array is too small
C:\Users\Administrator\Desktop\GTA\gamemodes\GTA.pwn(41694) : error 047: array sizes do not match, or destination array is too small
C:\Users\Administrator\Desktop\GTA\gamemodes\GTA.pwn(41705) : error 035: argument type mismatch (argument 2)
C:\Users\Administrator\Desktop\GTA\gamemodes\GTA.pwn(41707) : error 035: argument type mismatch (argument 2)
C:\Users\Administrator\Desktop\GTA\gamemodes\GTA.pwn(41709) : error 035: argument type mismatch (argument 2)
wäre nett wenn mir irgendwer grade den Fehler sagt, Danke