Disabling HUD
How to disable hud while in garages/impounds.
Exports
Setting
HandleHud = function(hideHud)
if hideHud then
-- ADD EXPORT TO HIDE HUD
else
-- ADD EXPORT TO SHOW HUD
end
--[[
COMPATIBILITY FOR ZSX UIV2
]]
if IsUIV2Started then
if hideHud then
exports[ZSX_UIV2]:HideInterface(true)
GlobalState.UIV2_InterruptThread = true
else
exports[ZSX_UIV2]:HideInterface(false)
GlobalState.UIV2_InterruptThread = false
end
end
endLast updated