DopeNotify is a notification style for FiveM servers. The download contains two standalone versions: the original dopeNotify (v1) and dopeNotify2 (v2). You trigger notifications from your own scripts.
dopeNotify2 (v2)
- Six notification types:
success,info,warning,error,smsandlong - Each notification has a title, a message and a display time in milliseconds (1000 = 1 second)
- Notification sound included
- Icons from Font Awesome 5; change them in
styles.css - Client side:
exports['dopeNotify2']:Alert("Title", "Message", Time, 'type') - Server side:
TriggerClientEvent('dopeNotify2:Alert', source, "Title", "Message", Time, 'type') client.luacontains example notifications (lines 15 to 51) that you can delete
dopeNotify (v1)
- Simple notification script based on the Noty/pNotify JavaScript libraries, with its own themes and a notification sound
- Exports
SendNotificationandSetQueueMax(limit for queued notifications)
Requirements
No framework needed. Both versions are client-side UI resources.
Installation
- Place
dopeNotify2(ordopeNotifyfor v1) in yourresourcesfolder. - Add
ensure dopeNotify2(orensure dopeNotify) to yourserver.cfg. - Call the export or event from your scripts.