peak_hud:announce
This event triggers a announcement.
Arguments
- author:
string
The author of the announcement. - title:
string
The title of the announcement. - message:
string
The message to display. - duration:
number?
(Optional) How long the notification should be shown.
Format
TriggerEvent("peak_hud:announce", author, title, message, duration)Example
TriggerEvent("peak_hud:announce", "Peak-Services", "Test", "This is a test announcement", 5000)Last updated on