30.03.2014, 15:21
Here you go,
pawn Code:
function GetVehicleModelIDFromName(vname[])
{
for(new i = 0; i < 211; i++)
{
if(strfind(vname[i], vname, true) != -1)
return i + 400;
}
return -1;
}