Skip to content

torpack/torpak-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

torpak-notify

How to use

Client Side

exports['torpak-notify']:SendAlert('This is a test notification', 'info')

With Caption

exports['torpak-notify']:SendAlert({text = 'This is a test notification', caption = 'With a caption'}, 'info')

Server Side

Send to everyone

TriggerClientEvent('torpak:notify', -1, 'This is a test notification', 'info')

With Caption

TriggerClientEvent('torpak:notify', -1, {text = 'This is a test notification', caption = 'With a caption'}, 'info')

Send to source

TriggerClientEvent('torpak:notify', source, 'This is a test notification', 'info')

With Caption

TriggerClientEvent('torpak:notify', source, {text = 'This is a test notification', caption = 'With a caption'}, 'info')

Screenshots

Info
Info
With Caption
Info

Error
Error
With Caption
Error

Success
Success
With Caption
Success

Warn
Warn
With Caption
Warn

Credits

Original notifications are taken from qb-core, I simply made them a standalone resource.

About

EXRP & ED:V Inspıred Notfiy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published