//FraktionsCars
new SanNewsCars[7], //7, da zur Zeit nur 7 Fahrzeuge (0-6) bestehen..
LSPDCars[10]; //Wenn du dann noch 10 LSPD Cars einfügen willst.. ( und dann genau das Gleiche, das unten steht machen.. )
SanNewsCars[0] = AddStaticVehicle(582,-327.3076,1515.0505,75.4138,359.7894,1,158); // San News FrakCar 1
SanNewsCars[1] = AddStaticVehicle(582,-333.4878,1515.2330,75.4174,0.2302,1,158); // San News FrakCar 2
SanNewsCars[2] = AddStaticVehicle(582,-339.9252,1515.1390,75.4167,0.6772,1,158); // San News FrakCar 3
SanNewsCars[3] = AddStaticVehicle(582,-346.0672,1515.5360,75.4152,358.8697,1,158); // San News FrakCar 4
SanNewsCars[4] = AddStaticVehicle(560,-320.9042,1514.1096,75.0643,1.0341,158,158); // San News FrakCar 5
SanNewsCars[5] = AddStaticVehicle(560,-314.8088,1514.3699,75.0624,359.3697,158,158); // San News FrakCar 6
SanNewsCars[6] = AddStaticVehicle(488,-269.4477,1548.5161,75.5092,134.9967,158,158); // frakcar SanNews 7
for(new v = 0; v<sizeof(SanNewsCars); v++){
SetVehicleNumberPlate(SanNewsCars[v],"San News");
SetVehicleToRespawn(SanNewsCars[v]);
}
for(new i = 0; i < sizeof(SanNewsCars); i++){
if(vehicleid == SanNewsCars[i]){
if(!isPlayerInFrakt(playerid, 7)){
RemovePlayerFromVehicle(playerid);
return SendClientMessage(playerid,COLOR_RED,"Du bist in keiner Fraktion!");
}
}
}