💨Integrations

You can incorporate these functions into other scripts!

Client Exports

chevron-rightNotificationhashtag
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 seconds
chevron-rightProgressbarhashtag
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 seconds
chevron-rightCancel Progressbarshashtag
exports['ZZZ_HudV2']:cancelProgressbars() -- Remove directly all progressbars
chevron-rightHUDhashtag
exports['ZZZ_HudV2']:toggleHUD(status) -- Toggles the HUD

-- Examples:
exports['ZZZ_HudV2']:toggleHUD(true) -- Enables the HUD
exports['ZZZ_HudV2']:toggleHUD(false) -- Disables the HUD
chevron-rightLeft HUDhashtag
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 HUD
chevron-rightHelp Notificationhashtag

Server Exports

chevron-rightMarry Announcementhashtag
chevron-rightAnnouncementhashtag

Export Arguments

Cover
name

message

type

string

Cover
name

duration

type

int

Cover
name

color

type

string

Cover
name

person1/person2

type

string

Cover
name

title

type

string

Cover
name

type

type

string

Cover
name

status

type

boolean

Last updated