Fixed vehicle model mismatch error, closes #113

This commit is contained in:
ElPumpo
2018-12-08 15:43:03 +01:00
parent 5cf117f274
commit f79f8df02e
2 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -871,7 +871,7 @@ AddEventHandler('esx_vehicleshop:hasEnteredMarker', function (zone)
end
resellPrice = ESX.Math.Round(vehicleData.price / 100 * Config.ResellPercentage)
model = string.lower(GetDisplayNameFromVehicleModel(GetEntityModel(vehicle)))
model = GetEntityModel(vehicle)
plate = ESX.Math.Trim(GetVehicleNumberPlateText(vehicle))
CurrentAction = 'resell_vehicle'