machs so
new CopCars[10];//falls du 10 CopCars hast
CopCars[0] = AddStaticVehicle(..........
CopCars[2] = AddStaticVehicle(..........
CopCars[3] = AddStaticVehicle(..........
//.......................
unter public IsACopCar
public IsACopCar(carid)
{
for(new car=0;car < sizeof(CopCars); car++)
{
if(carid == CopCars[car])return true;
return false;
}
}
bei dir sind nähmlich bestimmt die carids verrutscht