21.12.2013, 10:38
That should work:
pawn Код:
stock GetVehicleName(vehicleid)
{
return (400 <= GetVehicleModel(vehicleid) <= 611) ? (VehicleName[GetVehicleModel(vehicleid) - 400]) : ("N/A");
}