Notifications with original GTA V look, but more flexible.
- Download the resource ;
- Drag and drop it in your resources folder ;
- Add
start notif
into youserver.cfg
.
- Use the export below :
exports.notif:SendNotification({
text = "Test text.",
type = 'topRight',
timeout = 6000,
})
type
define where the notification will be draw ;timeout
define how much time (in ms) the notification is on screen ;- You can create your own notification 'type' by following the pattern in the code.
No updates yet.
- Doesn't deal with duplicate notifications (not as default notifications do) ;
- The centerLeft and centerRight options have some issues ;
- Notifications with different timeout will create issues.