It is pretty simple and self explanatory.
You can use whatever order you wish and add as many messages and hours as you want, not being consistent doesn't do any harm (you can have 5 hours set but only 2 messages for example). However your table must always consist of 2 strings, the first one being the hour and the second one the message. The hour must be written in a 24h format such as '13:45', '03:09' and so on.
This script takes the server time so you must make sure it is set correctly or, if you want another hour cause your server is in a different time zone just correct it.
Ah! Forgot to mention, you can edit your message color using FiveM text formatting as seen in here .
I'm using it to announce the shutting down of the server 30, 10, 5 and 1 minute before it automatically closes, since I have it set up to auto-open and auto-close at certain hours.
You can use it to whatever your imagination lets you.
Just as any other FiveM resource;
- Download it as .zip:
- If you do so, unzip it anywhere inside a folder, then copy that folder into your resources folder and add start NAME to your server.cfg file, where NAME is the name of the folder you unzipped everything in.
- Clone it to your server:
- If you choose this option is because you understand how this works.
