[Solved]Need a HELP with "rdrp_notifications"

I used the commands TriggerClientEvent(“rdrp_notifications:sendNotification” but the notification dont appear, someone can help me? :neutral_face:

Git: https://github.com/qalle-fivem/rdrp_notifications

Where are you trying to trigger the event? We need to see the actual code…

Im trying to use on this notifications, i want to use with all these notifications:

ESX.RegisterUsableItem(‘water’, function(source)
local xPlayer = ESX.GetPlayerFromId(source)

xPlayer.removeInventoryItem('water', 1)

TriggerClientEvent('esx_status:add', source, 'thirst', 200000)
TriggerClientEvent('esx_basicneeds:onDrink', source)
TriggerClientEvent('esx:showNotification', source, _U('used_water'))

Replace this … TriggerClientEvent(‘esx:showNotification’, source, _U(‘used_water’))

With this … TriggerClientEvent(“rdrp_notifications:sendNotification”, source, “You drank some water”)

Try that

1 Like
TriggerClientEvent(“rdrp_notifications:sendNotification”, source, “You drank some water”, 5000)

I forgot to put that in the readme, you need to specify how long it should show in ms.

1 Like

Working mates, thank you very much. :heart: