💨Integrations
You can incorporate these functions into other scripts!
Client Exports
Notification
exports['ZZZ_HudV2']:sendNotification(type, title, message, duration) -- Standard color
exports['ZZZ_HudV2']:sendNotification(type, title, message, duration, color) -- Custom color as HEX
-- Examples:
exports['ZZZ_HudV2']:sendNotification("info", "INFO TITLE", "This is a test.", 5*1000) -- 5 seconds
exports['ZZZ_HudV2']:sendNotification("custom", "CUSTOM TITLE", "This is a test.", 3*1000, "#f8117d") -- 3 secondsProgressbar
exports['ZZZ_HudV2']:sendProgressbar(message, duration) -- Standard color
exports['ZZZ_HudV2']:sendProgressbar(message, duration, color) -- Custom color as HEX
-- Examples:
exports['ZZZ_HudV2']:sendProgressbar("This is a test.", 2*1000) -- 2 seconds
exports['ZZZ_HudV2']:sendProgressbar("This is a test.", 10*1000, "#f8117d") -- 10 secondsHUD
exports['ZZZ_HudV2']:toggleHUD(status) -- Toggles the HUD
-- Examples:
exports['ZZZ_HudV2']:toggleHUD(true) -- Enables the HUD
exports['ZZZ_HudV2']:toggleHUD(false) -- Disables the HUDLeft HUD
exports['ZZZ_HudV2']:toggleLeftHUD(status) -- Toggles the left HUD
-- Examples:
exports['ZZZ_HudV2']:toggleLeftHUD(true) -- Enables the left HUD
exports['ZZZ_HudV2']:toggleLeftHUD(false) -- Disables the left HUDServer Exports
Export Arguments

name
message
type
string

name
duration
type
int

name
color
type
string

name
person1/person2
type
string

name
title
type
string

name
type
type
string

name
status
type
boolean
Last updated