if (strcmp("/carkey", cmdtext, true, 10) == 0)
{
{
new carstring[128];
new autoname = CarName[PlayerCar[playerid][vcar_PlayerKey[playerid]][CarModel]-400]
format(carstring,sizeof(carstring),"Autoschlüssel wählen (Gewählt: %d)",autoname);
ShowPlayerDialog(playerid,DIALOG_Carkey,DIALOG_STYLE_LIST,carstring,"-| Schlüssel 1\n-| Schlüssel 2\n-| Schlüssel 3","Wählen", "Abbrechen");
}
return 1;
}
Fehler:
C:\....\script.pwn(16453 -- 16455) : error 033: array must be indexed (variable "-unknown-")