Moin Moin.
Ich habe eine frage zu einen Befehl, Also ich habe mir einen befehl erstellt das wenn man /rac macht das Alle Fahrzeuge auf dem Server Respawnen was ja auch soweit gut ist.. Nur ich will Bestimmste fahrzeuge respawnen lassen also z.B
Hier Erst ma der Befehl den ich derzeit drine habe für alle fahrzeuge respawnen:
ocmd:rac(playerid,params[])
{
if(!isPlayerAnAdmin(playerid,2000))return SendClientMessage(playerid,ROT,"Du bist Kein Admin!.");
new string[128];
format(string,sizeof(string),"INFO: Admin %s Respawnt alle Fahrzeuge auf Dem Server.",SpielerName(playerid));
SendClientMessageToAll(ORANGE,string);
for(new i = 0;i < MAX_VEHICLES; i++)
{
if(IsAnyBodyInVehicle(i)) continue;
SetVehicleToRespawn(i);
}
return 1;
}
Also was ich jetzt will ist Das man diese Ganzen Cars Hier:
stadtcar[0]=SetVehicleNumberPlate(CreateVehicle(462,1645.90002441,-1907.30004883,13.19999981,10.00000000,1,1,0),"Stadt"); //Faggio
stadtcar[1]=SetVehicleNumberPlate(CreateVehicle(462,1644.19995117,-1907.69995117,13.19999981,9.99755859,1,1,0),"Stadt"); //Faggio
stadtcar[2]=SetVehicleNumberPlate(CreateVehicle(462,1642.59997559,-1908.09997559,13.19999981,9.99755859,1,1,0),"Stadt"); //Faggio
stadtcar[3]=SetVehicleNumberPlate(CreateVehicle(462,1640.90002441,-1908.50000000,13.19999981,9.99755859,1,1,0),"Stadt"); //Faggio
stadtcar[4]=SetVehicleNumberPlate(CreateVehicle(462,1639.30004883,-1908.90002441,13.19999981,9.99755859,1,1,0),"Stadt"); //Faggio
stadtcar[5]=SetVehicleNumberPlate(CreateVehicle(462,1637.50000000,-1909.40002441,13.19999981,9.99755859,1,1,0),"Stadt"); //Faggio
stadtcar[6]=SetVehicleNumberPlate(CreateVehicle(462,1635.30004883,-1910.00000000,13.19999981,9.99755859,1,1,0),"Stadt"); //Faggio
stadtcar[7]=SetVehicleNumberPlate(CreateVehicle(462,1633.19995117,-1910.30004883,13.19999981,9.99755859,1,1,0),"Stadt"); //Faggio
stadtcar[8]=SetVehicleNumberPlate(CreateVehicle(462,1631.19995117,-1910.50000000,13.19999981,347.99755859,1,1,0),"Stadt"); //Faggio
stadtcar[9]=SetVehicleNumberPlate(CreateVehicle(462,1629.69995117,-1908.80004883,13.19999981,275.99743652,1,1,0),"Stadt");//Faggio
stadtcar[10]=SetVehicleNumberPlate(CreateVehicle(462,1629.69995117,-1907.00000000,13.19999981,275.99304199,1,1,0),"Stadt"); //Faggio
stadtcar[11]=SetVehicleNumberPlate(CreateVehicle(462,1629.59997559,-1905.40002441,13.19999981,275.99304199,1,1,0),"Stadt"); //Faggio
stadtcar[12]=SetVehicleNumberPlate(CreateVehicle(462,1629.90002441,-1903.59997559,13.19999981,275.99304199,1,1,0),"Stadt"); //Faggio
stadtcar[13]=SetVehicleNumberPlate(CreateVehicle(462,1630.09997559,-1902.09997559,13.19999981,275.99304199,1,1,0),"Stadt"); //Faggio
stadtcar[14]=SetVehicleNumberPlate(CreateVehicle(462,1630.19995117,-1900.59997559,13.19999981,275.99304199,1,1,0),"Stadt"); //Faggio
stadtcar[15]=SetVehicleNumberPlate(CreateVehicle(462,1630.09997559,-1898.90002441,13.19999981,275.99304199,1,1,0),"Stadt"); //Faggio
stadtcar[16]=SetVehicleNumberPlate(CreateVehicle(462,1630.40002441,-1897.30004883,13.19999981,265.99304199,1,1,0),"Stadt"); //Faggio
.. mit den Befehl "/respawnstadt" Respawnen kann.
Ich hoffe ihr könnt mir da weiter helfen.
MFG Equ