📥Exports
Configuration guide of Notify Pack System.
Client Exports
Notify
exports['stg-hud']:Notify({ type = 'success', message = 'Hello!', title = 'Title', duration = 3000 })Displays a notification on screen. Types: success, error, info, warning.
Announcement
exports['stg-hud']:Announcement({ name = 'Admin', title = 'Server', message = 'Welcome!', duration = 5000 })Shows a large announcement notification to the players.
HelpNotify
exports['stg-hud']:HelpNotify('E', 'Open Trunk')Displays a key hint notification on screen.
startProgress
exports['stg-hud']:startProgress(5000, 'Repairing...', {
freeze = true,
anim = {
dict = 'mini@repair',
lib = 'fixing_a_player'
},
prop = 'prop_tool_wrench',
onFinish = function()
-- on complete
end,
onCancel = function()
-- on cancel
end
})Starts a progress bar with optional freeze, animation, prop, and callbacks.
Server Exports
Last updated