JG Docs
HUD

Exports

toggleHud

Hide or show the entire HUD.

-- client only
-- show: boolean - true to show the HUD, false to hide it
exports["jg-hud"]:toggleHud(show)

-- example: hide the HUD during a cutscene
exports["jg-hud"]:toggleHud(false)

toggleVehicleControl

Hide or show the vehicle control menu.

-- client only
-- show: boolean - true to show the menu, false to hide it
exports["jg-hud"]:toggleVehicleControl(show)

On this page