Skip to content

Pulsar-Script/pulsar-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pulsar-notify

Clean, modern notifications for FiveM with a time bar, optional images, and type-based sounds. Colors are fully customizable with hex values.

Features

  • Sleek, compact design with a draining time bar
  • Custom hex color per notification
  • Optional image thumbnail with rounded corners
  • Lightweight sound per notification type
  • Position and duration configured in config.lua

Client exports

exports['pulsar-notify']:Notify('INFO', 'Hello', '#4bb3ff')
exports['pulsar-notify']:success('SUCCESS', 'Saved')
exports['pulsar-notify']:error('ERROR', 'Failed')
exports['pulsar-notify']:warning('WARNING', 'Check this')
exports['pulsar-notify']:info('INFO', 'New mail')
exports['pulsar-notify']:other('OTHER', 'Other type')
exports['pulsar-notify']:image('TITLE', 'Message with image', 'https://example.com/img.png', '#ff2542')

Server export

exports['pulsar-notify']:Notify(source, 'WELCOME', 'Welcome', '#3ad66c')

Events

TriggerClientEvent('pulsar-notify:client:Notify', target, 'INFO', 'Hello', '#4bb3ff')
TriggerServerEvent('pulsar-notify:server:Notify', target, 'INFO', 'Hello', '#4bb3ff')

Notes

  • Notify takes title, message, and a hex color.
  • image takes title, message, imageUrl, and a hex color.
  • Duration and screen position are configured in config.lua.

TODO

  • Add a ingame system to full custom notify.
  • Add a QBCore provider

About

A clean notification script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors