Exports
This section is aimed at developers. Basic scripting knowledge will help you get the most out of it.
The crm-hud script provides simple exports to show or hide the HUD at any moment. These are useful when entering interiors, opening menus, cutscenes, radial menus, or custom UIs.
toggleHud
Shows or hides the HUD. Pass true to show it, false to hide it.
-- Hide the HUD
exports['crm-hud']:toggleHud(false)
-- Show the HUD
exports['crm-hud']:toggleHud(true)