Hey Com,
Aus irgendwelchen Gründen wird das Nummernschild nicht gesetzt?
new xxx = vehicleid;
if(!IsADtCar(xxx))
{
new plate[28], ort[6];
new Zeichen[26][] = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"};
if(IsVehicleInArea(vehicleid,-1242.1875,433.59375,3035.15625,2964.84375))
{
format(ort,6,"LV");
}
if(IsVehicleInArea(vehicleid,-1242.1875,433.59375,3035.15625,2964.84375))
{
format(ort,6,"LS");
}
else return ort = "SF";
format(plate,sizeof(plate),"%s-%d-%s%s",ort,vehicleid,Zeichen[random(25)],Zeichen[random(25)]);
SetVehicleNumberPlate(vehicleid,plate);
SetVehicleToRespawn(vehicleid);
}
Es ist im Public OnVehicleSpawn