Topic erklärt alles hier der Code:
Code
ocmd:acveh(playerid,params[])
{
new Float:x, Float:y, Float:z;
new pID, car;
if(sscanf(params,"ii",pID,car)) return SendClientMessage(playerid,Rot,"Befehl: /acveh [ID] [CarID]");
GetPlayerPos(pID,x,y,z);
if(car==400)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==401)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==402)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==403)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==403)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==404)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==405)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==406)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==407)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==408)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==409)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==410)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==411)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==412)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==413)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==414)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==415)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==416)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==417)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==418)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==419)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==420)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==421)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==422)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==423)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==424)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==425)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==426)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==427)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==428)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==429)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==430)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
if(car==431)
{
CreateVehicle(car,x,y,z,0,0,0,false);
}
return 1;
}
Alles anzeigen
Ich würde das mit jeden Fahrzeug machen aber ich denke da gibt es noch eine bessere Methode, da ich neu in pawn bin kenne ich diese leider nicht.
Bitte um hilfe mfg FaYo