12.04.2017, 12:11
Quote:
I made the same mistake as you,he's checking if the vehicle is an int or string.
|
Code:
stock GetVehicleModelFromName(const vname[]) { for(new i = 0; i < 211; i++) { if(strfind(VehicleNames[i], vname, true) != -1) { return i + 400; } } return -1; }