01.10.2018, 09:24
Rename vehnames to another name, you already are using a variable called the same. I'll be using VNames in the example:
PHP код:
stock GetVehicleModelIDFromName(str[]){
for(new i = 0; i < 211; i++){
if(strfind(VNames[i], vehiclename, true) != -1)
return i;
} return -1;
}