public IsACopCar(carid) { for(new i = 0; i < sizeof(copcar); i++) { if(carid == copcar[i]) return 1; } return 0; }
new copcar[37]; copcar[1] = AddStaticVehicleEx(596,1574.4703,-1710.9795,5.6115,0.4220, -1, -1, 30000); copcar[2] = AddStaticVehicleEx(596,1587.4816,-1710.3594,5.6104,358.9421,-1, -1, 30000); ......