mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
fix(client/vehicleProperties): missing tyres
This commit is contained in:
@@ -147,7 +147,7 @@ function lib.getVehicleProperties(vehicle)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
for i = 0, 5 do
|
for i = 0, 7 do
|
||||||
if IsVehicleTyreBurst(vehicle, i, false) then
|
if IsVehicleTyreBurst(vehicle, i, false) then
|
||||||
damage.tyres[i] = IsVehicleTyreBurst(vehicle, i, true) and 2 or 1
|
damage.tyres[i] = IsVehicleTyreBurst(vehicle, i, true) and 2 or 1
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user