mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-19 10:28:33 +00:00
fix(client/vehicleProperties): livery getter
This commit is contained in:
1 parent
0014dfbe1f
commit
5c028759f3
1 file changed
+2
-6
@@ -115,14 +115,10 @@ function lib.getVehicleProperties(vehicle)
|
||||
end
|
||||
end
|
||||
|
||||
local modLivery = GetVehicleMod(vehicle, 48)
|
||||
local modLivery = GetVehicleLivery(vehicle)
|
||||
|
||||
if modLivery == -1 then
|
||||
local modLivery2 = GetVehicleLivery(vehicle)
|
||||
|
||||
if modLivery2 ~= 0 then
|
||||
modLivery = modLivery2
|
||||
end
|
||||
modLivery = GetVehicleMod(vehicle, 48)
|
||||
end
|
||||
|
||||
local damage = {
|
||||
|
||||
Reference in new issue
Block a user