07.07.2014, 17:41
Check if the modelid is not 0 first (vehicle does not exist) otherwise it will cause run time error 4.
pawn Код:
#define GetVehicleName(%0) (GetVehicleModel(%0) ? VehicleNames[GetVehicleModel(%0) - 400] : "N/A")