HEX
HexscriptsVersion 2.0HUD

Events

This section lists all client-side and server-side events in this script. Events allow you to add custom listeners that capture and respond to actions triggered by this script.

Note

If you need additional events for your implementation, please open a ticket on our Discord server.

Client Events

Notify

Start a Notification.

TriggerEvent('hex_2_hud:notify', title, message, type, timeout)

Prop

Type

Announce

Start a Announcement.

TriggerEvent('hex_2_hud:announce', title, message, timeout)

Prop

Type

Lifeinvader

Start a Lifeinvader Notification.

TriggerEvent('hex_2_hud:lifeinvader', rpName, phoneNumber, message, timeout)

Prop

Type

HideHud

Hides the Hud.

TriggerEvent('hex_2_hud:hidehud', hide)

Prop

Type

StartProgressbar

Starts a Progressbar.

TriggerEvent('hex_2_hud:startProgressbar', ms, name)

Prop

Type

StopProgressbar

Stops the current Progressbar.

TriggerEvent('hex_2_hud:stopProgressbar')

Server Events

No server events are available at the moment.