Animated notifications
You have the option to add an animation to the notifications. You can choose from four animations, or select none. Animations are applied using the trigger below.
via this trigger
Serveur
TriggerClientEvent('pnotifv2:sendNotification', -1, {
message = message,
title = title,
type = 'server',
animation = 'pulse', -- You can set the animation of your choice here. Available options are: pulse, bounce, flash, and shake. If you don’t want any animation, simply remove this line.
duration = 8000
})Client
TriggerEvent('pnotifv2:sendNotification', {
message = message,
title = title,
type = 'server',
animation = 'pulse', -- You can set the animation of your choice here. Available options are: pulse, bounce, flash, and shake. If you don’t want any animation, simply remove this line.
duration = 8000
})
Last updated