Skip to content

Commit

Permalink
Update 0.7.61
Browse files Browse the repository at this point in the history
-Fixed a bug where the brake warning icon could get stuck.
  • Loading branch information
Muhaddil committed Oct 20, 2024
1 parent 6d9ee76 commit f050d9f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ if Config.EnableCarPhysics then
local veh = GetVehiclePedIsIn(playerPed, false)
local groundHash = GetGroundHash(veh)

print(groundHash)
DebugPrint(groundHash)

local sandHashes = {
1635937914, -1885547121, -1595148316, 510490462,
Expand Down Expand Up @@ -1130,6 +1130,10 @@ if Config.EnableCarPhysics then
end

manageBrakeTemperature()
else
SendNUIMessage({
type = "hideWarning",
})
end

Citizen.Wait(timeout)
Expand All @@ -1145,7 +1149,7 @@ if Config.EnableCarPhysics then
if veh ~= 0 then
timeout = 500
local terrain = isOnSandOrMountain()
print(terrain)
DebugPrint(terrain)
applyTerrainEffects(veh, terrain)

local vehicleClass = GetVehicleClass(veh)
Expand Down
2 changes: 1 addition & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ lua54 'yes'

author 'Muhaddil'
description 'Mileage-based vehicle breakdown system for ESX&QBCore'
version 'v0.7.6-beta'
version 'v0.7.61-beta'

shared_script 'config.lua'
client_script 'client.lua'
Expand Down

0 comments on commit f050d9f

Please sign in to comment.