05.05.2013, 22:50
No, the code I gave you should have worked. Let me try to explain the code as best I can:
pawn Код:
IsACopVehicle(carid)
{
for(new v = 0; v < sizeof(CopVehicle); v++) // This will loop through all your CopVehicles.
{
if(carid == CopVehicle[v]) return 1; // If the vehicleid is defined by CopVehicle, it will return 1.
}
return 0; // If it is not, it will return 0.
}