Moin wenn ich diesen Scriptteil benutze:
if(strcmp("/ckey", cmdtext, true, 10) == 0)
{
new mv = MaxVeh;
if(mv > 1)
{
new car1id[256],car2id[256],car3id[256];
Dtc_PlayerKey[playerid] = 1;
strmid(car1id,CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400],0,strlen(CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400]),255);
Dtc_PlayerKey[playerid] = 2;
strmid(car2id,CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400],0,strlen(CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400]),255);
Dtc_PlayerKey[playerid] = 3;
strmid(car3id,CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400],0,strlen(CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400]),255);
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;
}
Kommt wenn ich es Ingame eingebe "Server Unkown Command" Wodran liegt das=