- I had this a long time ago and found it now.
- A notification system based on 3D text.
- They will show infront of you player.
- Stackable notifications and after a certain amount of time they will fade out.
cd resources
git clone https://github.com/qalle-fivem/rdrp_notifications
- Add this to your
server.cfg
:
- This will send a notification with the text
You earned ~g~$5
and it will be removed after 10000ms
exports["rdrp_notifications"]:AddNotification("You earned ~g~$5", 10000)
- This will send a notification with an event.
TriggerEvent("rdrp_notifications:sendNotification", "You earned ~g~$5")
TriggerClientEvent("rdrp_notifications:sendNotification", source, "You earned ~g~$5")