📚
Dusa all scripts documentation
  • Home
  • General Questions
    • Escrow System
    • Error parsing script ... <\1>
    • Failed to verify protected resource
    • You lack the required entitlement
    • If nothing fixed your problems
  • Need Help?
  • Scripts
    • Police Job
      • Installation
      • Configuration
      • Client
        • Exports
        • Events
      • Server
        • Callbacks
      • Common Issues
    • Evidence
      • Installation
      • Configuration
      • Client
        • Events
      • How to add custom weapon compatibility?
      • Common Issues
    • Hud
      • Installation
      • Configuration
      • Client
        • Events
        • Exports
      • Server
        • Events
    • Vehicle Keys
      • Installation
      • How to give keys to player? (e.g on dealerships)
      • Client
        • Exports
        • Events
      • Server
        • Exports
        • Events
    • Billing
      • Installation
      • Configuration & Exports (ESX)
      • Configuration & Exports (QB)
    • Police MDT
      • Installation
      • Configuration & Exports (ESX/QBCore)
    • Dispatch
      • Installation
      • On other resources, how can I integrate dispatch?
      • How to send custom dispatch?
      • Client
        • Exports
        • Events
        • Handlers
      • Server
        • Exports
    • Multicharacter + Spawn Selector
      • Installation
      • Configuration & Exports (ESX)
      • Configuration & Exports (QB)
Powered by GitBook
On this page
  • Export List
  • How to use exports?
  1. Scripts
  2. Hud
  3. Client

Exports

Export List

export
parameters
return
description

ShowHud

none

none

Set hud visible

HideHud

none

none

Set hud invisible

ToggleCruise

none

none

Toggle speed cruise

ToggleSeatbelt

none

none

Toggle seatbelt

OpenSettingsMenu

none

none

Open hud customization menu

How to use exports?

Exports are used for different purposes in different places. For example, if I want to set hud as visible, I need to use a code like this

-- Open HUDCommand
RegisterCommand('showhud', function()
    exports['dusa_hud']:ShowHud()
end)
PreviousEventsNextServer

Last updated 4 months ago