Page cover

barsEvents / Export List

All of these events and exports are client-sided

/hud

Opens the HUD customisation menu.

Hide / Show the HUD UI

Show or hide the HUD itself, based on the isOpenvariable.

TriggerEvent("cdw-hud:setHudOpen", isOpen)

Notify

Parameter
Type
Description

text

String

The notification text to display

texttype

String

"primary" | "warning" | "success" | "error"

length

Integer

Time the notificaiton will show on screen in miliseconds

Example Usage

Progressbar

Usage

You can use it with either a callback (cb) or by returning the result.

Is Progressbar Active

Returns whether there is an active progressbar.

Cancel Progress

Cancels the current progressbar if active.

Seatbelt

Returns whether the player is wearing their seatbelt. This only works with the built-in belt system.

Last updated