Update functions.lua

This commit is contained in:
Arctos2win
2023-09-20 16:33:52 +02:00
committed by GitHub
parent 054c760535
commit b3a2799420
+1 -1
View File
@@ -1365,7 +1365,7 @@ local mismatchedTypes = {
---@return string
function ESX.GetVehicleType(model)
model = type(model) == 'string' and joaat(model) or model
if not IsModelAVehicle(model) then return end
if not IsModelInCdimage(model) then return end
if mismatchedTypes[model] then
return mismatchedTypes[model]
end