API & EXPORTS GUIDE
This documentation covers all exports and API functions available for developers integrating Risk HUD V2 into their scripts.
๐ฏ Available Exports
1) Notify โ Display Notifications
exports['risk-hudv2']:Notify(data){
type = 'success', -- 'success', 'error', 'info', 'warning'
title = 'Title', -- Notification title
message = 'Message', -- Notification content
duration = 8000 -- Duration in milliseconds (default: 8000)
}exports['risk-hudv2']:Notify({
type = 'success',
title = 'Vehicle Parked',
message = 'Your vehicle has been successfully stored in the garage.',
duration = 5000
})2) HelpNotify โ Display Help Prompts
3) startProgress โ Progress Bar
4) cancelProgress โ Cancel Progress Bar
๐ข Announcements System
Server Export: SendAnnouncement
Client Command: /announcement
Server Event: Announcement
Targeted Announcement (Single Player)
๐จ Complete Integration Examples
Example 1: Vehicle Shop System
Example 2: Robbery System
Example 3: Crafting System
Example 4: Drug Processing
Last updated