[Release][ESX] Advert


I was watching a live on an RP server and saw a script like that. I didn’t remember seeing one on the forum so I just decided to make it.
Nothing really difficult, /ad [your message] in game to send an advert to every connected player. Showcase : https://youtu.be/xL3udfCAW0Y
The script is available in english and in french, change the serveren.lua to serverfr.lua in __resource.lua if you want it in french. Default delay between each message is 20 sec, you can change it in the client.lua
You need esx (https://github.com/ESX-Org/es_extended), only journalists can use the command, you can just remove this part from the script if you want everybody being able to use it, else you’ll need esx_jobs (https://github.com/ESX-Org/esx_jobs)
Do not re-upload this without asking me first please.

4 Likes

Nothing’s special. Currently there are dozens of them in this forum.

Would you help me
When I try to send error warning saying to contact director

How do i make that i can use that Command only if i am at a specific place?

you need esx_jobs and you must be a reporter

You want to trigger it with a marker ?

yes that would be cool, can you help me?

is there a way to make that the notification only goes to the police, and everyone can send it?

is there away to make is so you don’t need to contact the reporter… (we don’t use reporterjob on my server) thanks and nice release dude

Replace ‘reporter’ with the job you’re using or just delete all the job related lines

Thanks man or woman lol

Hi do you have a code, with no jobs?