if (strcmp("/carlist", cmdtext, true)==0)
{
if(Dtc_PlayerHaveCar[playerid][0] && !Dtc_PlayerHaveCar[playerid][1]) || if(deineOamtbezeichnung(playerid))
{
SendClientMessage(playerid,0xFFFFFFFF,">> Carliste <<");
format(string,sizeof(string),"Fahrzeug: %s || Kennzeichen: %s",CarName[PlayerCar[playerid][0][CarModel]-400],PlayerCar[playerid][0][Plate]);
SendClientMessage(playerid,0x00FFFFFF,string);
SendClientMessage(playerid,0xFFFFFFFF,">> Carliste <<");
}
if(Dtc_PlayerHaveCar[playerid][1] && !Dtc_PlayerHaveCar[playerid][0]) || if(deineOamtbezeichnung(playerid))
{
SendClientMessage(playerid,0xFFFFFFFF,">> Carliste <<");
format(string,sizeof(string),"Fahrzeug: %s || Kennzeichen: %s",CarName[PlayerCar[playerid][1][CarModel]-400],PlayerCar[playerid][1][Plate]);
SendClientMessage(playerid,0x00FFFFFF,string);
SendClientMessage(playerid,0xFFFFFFFF,">> Carliste <<");
}
if(Dtc_PlayerHaveCar[playerid][0] && Dtc_PlayerHaveCar[playerid][1]) || if(deineOamtbezeichnung(playerid))
{
SendClientMessage(playerid,0xFFFFFFFF,">> Carliste <<");
format(string,sizeof(string),"Fahrzeug: %s || Kennzeichen: %s",CarName[PlayerCar[playerid][0][CarModel]-400],PlayerCar[playerid][0][Plate]);
SendClientMessage(playerid,0x00FFFFFF,string);
format(string,sizeof(string),"Fahrzeug: %s || Kennzeichen: %s",CarName[PlayerCar[playerid][1][CarModel]-400],PlayerCar[playerid][1][Plate]);
SendClientMessage(playerid,0x00FFFFFF,string);
SendClientMessage(playerid,0xFFFFFFFF,">> Carliste <<");
}
if(!Dtc_PlayerHaveCar[playerid][0] && !Dtc_PlayerHaveCar[playerid][1]) || if(deineOamtbezeichnung(playerid))
{
SendClientMessage(playerid,0xFF0000FF,"Du hast garkein Fahrzeug!");
}
return 1;
}