11.07.2015, 12:21
[I]Try changing this :
To :
PHP код:
GetVehicleModelIDFromName(vname[])
{
for(new i = 0; i < 211; i++)
{
if ( strfind(VehicleNames[i], vname, true) != -1 )
return i + 400;
}
return -1;
}
PHP код:
GetVehicleModelByName(vname[]) {
for( new i = 0; i < 212; i++) {
if(strfind(VehicleNames[i], vname, true) != -1) {
return i+400;
}
}
return 0;
}[/i]