mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(client/vehicleProperties): livery getter
This commit is contained in:
@@ -115,14 +115,10 @@ function lib.getVehicleProperties(vehicle)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local modLivery = GetVehicleMod(vehicle, 48)
|
local modLivery = GetVehicleLivery(vehicle)
|
||||||
|
|
||||||
if modLivery == -1 then
|
if modLivery == -1 then
|
||||||
local modLivery2 = GetVehicleLivery(vehicle)
|
modLivery = GetVehicleMod(vehicle, 48)
|
||||||
|
|
||||||
if modLivery2 ~= 0 then
|
|
||||||
modLivery = modLivery2
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local damage = {
|
local damage = {
|
||||||
|
|||||||
Reference in New Issue
Block a user