This is an example:

Client Side

-- Message, Type and Duration
exports['Roda_Notifications']:showNotify('Hey, You have a error in this notification :(', 'error', 4000)

Server Side

-- Source, Message, Type and Duration
TriggerClientEvent('Roda_Notifications:showNotification', source, 'You bought a weapon!', 'success', 3000)

Types

-- normal
-- success
-- error
-- warn
-- info
-- announce
-- twt