05.04.2016, 19:16
pawn Код:
stock GetModelVehicleFromID(vname[]) //NOTE THAT you have to add "FromID" to the stock in the command because i renamed it
{
for(new i = 0; i < 211; i++)
{
if(strfind(NameVehicles[i], vname, true) != -1)
return i + 400;
}
return -1;
}