Advert-FiveM
I did this script because someone asked me, but I want to share it with people who may need it too.
Advert-FiveM is a simple advert script for FiveM servers (it isn’t an automatic broadcaster !).
How to use it
- Use the RCON command
advert
in order to see how to use the script -
advert Some sweet words here
will broadcast to all player online the message “Some sweet words here” - You can add in templates.lua some texts in order to broadcast them later
- To broadcast a template, you can use the command
advert /templateName
(don’t forget to add a / before the name of the template). For instance,advert /maintenance
will broadcast to all player the texts link to maintenance template
Installation
- Download the latest version from the GitHub repository.
- Put the
advert
folder in the resources folder on your server. - Edit templates file as you want.
- Add “start advert” in your server.cfg.