42.20 and Towtrucks

This commit is contained in:
2026-08-13 18:59:54 -04:00
parent a6ba4877d0
commit e403323017
33 changed files with 2333 additions and 142 deletions
+7 -1
View File
@@ -215,7 +215,13 @@ end
function ISVehicleMenu.showRadialMenu(playerObj)
TowBarMod.UI.defaultShowRadialMenu(playerObj)
if playerObj:getVehicle() then return end
local currentVehicle = playerObj:getVehicle()
if currentVehicle then
if TowBarMod.WreckerUI then
TowBarMod.WreckerUI.addOptionsToMenu(playerObj, currentVehicle)
end
return
end
local vehicle = ISVehicleMenu.getVehicleToInteractWith(playerObj)
if vehicle == nil then return end