diff --git a/resources/[jobs]/[civ]/mh_jobgarage/client/function.lua b/resources/[jobs]/[civ]/mh_jobgarage/client/function.lua index b563a1039..c7088dd3a 100644 --- a/resources/[jobs]/[civ]/mh_jobgarage/client/function.lua +++ b/resources/[jobs]/[civ]/mh_jobgarage/client/function.lua @@ -30,7 +30,6 @@ AddEventHandler('mh_jobgarage:notify', function(title, text, type) end) function IsVehicleSpawned(plate) - plate = string.gsub(string.upper(plate), '^%s*(.-)%s*$', '%1'):gsub(' ', '') local vehicles = GetGamePool('CVehicle') @@ -38,7 +37,6 @@ function IsVehicleSpawned(plate) if DoesEntityExist(vehicle) then local vehiclePlate = QBCore.Functions.GetPlate(vehicle) local mods = QBCore.Functions.GetVehicleProperties(vehicle) - vehiclePlate = string.gsub(string.upper(vehiclePlate), '^%s*(.-)%s*$', '%1'):gsub(' ', '') if vehiclePlate == plate then return true, mods