16.02.2011, 14:33
Hey guys, I have a problem with this code,
This code should read the licensesplate number on the vehicles and at the same time it has confirmed its the correct ID number it should get the vehicle ID number but some how it doesn't work. Anyone that are able to help me?
This code should read the licensesplate number on the vehicles and at the same time it has confirmed its the correct ID number it should get the vehicle ID number but some how it doesn't work. Anyone that are able to help me?
Код:
stock GetVehicleIDFromPlate(plate) { for(new i = 0; i < sizeof(CarInfo); i++) { if(plate == CarInfo[i][cLicense]) { return i; } } return 0; }