mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
Fixed mod liveries, thanks to Chubbs
This commit is contained in:
@@ -703,7 +703,7 @@ ESX.Game.GetVehicleProperties = function(vehicle)
|
||||
modTrimB = GetVehicleMod(vehicle, 44),
|
||||
modTank = GetVehicleMod(vehicle, 45),
|
||||
modWindows = GetVehicleMod(vehicle, 46),
|
||||
modLivery = GetVehicleMod(vehicle, 48)
|
||||
modLivery = GetVehicleLivery(vehicle)
|
||||
}
|
||||
end
|
||||
|
||||
@@ -947,6 +947,7 @@ ESX.Game.SetVehicleProperties = function(vehicle, props)
|
||||
|
||||
if props.modLivery ~= nil then
|
||||
SetVehicleMod(vehicle, 48, props.modLivery, false)
|
||||
SetVehicleLivery(vehicle, props.modLivery)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user