Hello guys, this is an another baguette !!!
It’s only an update.On a lot of scripts we have the freeroam:notify.
So i take the function and push it into a simple file to able you tu use the freeroam notify
/!\ It s only for people who don t have Freeroam.
TriggerClientEvent("es_freeroam:notify", source, "YOUR CHAR (PIC)", 1, "NAME OF THE NOTIF", false, "Your first message line here".. Put something here.."Second line here:" .. Put something here)
As you see im not a pro, just want to share this with you. Hope I help someone
Simpler: just replace any es_freeroam to es_roleplay using notepad++ on any script that has a notifying function.
But yeah nice contribution for people who still want to use es_freeroam whilst using advancedrp!
2017-05-04 13:56:49.9843|ERROR|CitizenMP.Server|Error creating script environment for resource es_notify: Could not find file "/home/fivem/old/server/resources/es_notify/server.lua".
if like u are using advanced rp and u use like banking system, in banking system u have a call for es:dreeroamnotify but this is a part of freeroam so i just add the notify function to advanced rp