mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
Fixed vehicle model mismatch error, closes #113
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user