exports['torpak-notify']:SendAlert('This is a test notification', 'info')
exports['torpak-notify']:SendAlert({text = 'This is a test notification', caption = 'With a caption'}, 'info')
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')
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')
Original notifications are taken from qb-core, I simply made them a standalone resource.