[ExM] [Release] NUI Announce system

[ExM] [Release] NUI Announce system

Ad system for ExM equal to vrp framework ad system

This announcement system can send your work to announce something you want, the announcement will be seen by all connected users who are connected at that moment

What does the ad system do?
When you have a job like lspd for example to send an ad use / adlspd and adding the text you want to advertise

Example:
/ adlspd OPPOSITIONS OPEN FOR LSPD

When you send this ad, the ad will be visible to all those connected

FEATURES

  • Add more jobs
  • Change the images of the ad backgrounds
  • Charge for each ad
  • Change the duration of the ads

How to add another remote for another job?

In registerCommand change the command to whatever you want, for example if you want to add the casino job put adcasino, it doesn’t need to have the ad, I put it to know that it is an ad

In xPlayer.job.name put the name of the job you use in your database

In the triggerClientEvent in the type section put the class that you have put in the .css

In the first print is the text that comes out when you don’t have money to pay for the ad

In the second print is the text that comes out when you are not from said job

The false that is at the end of the last end, is to put that the command can only be used by the admins or not, if you have it in false the users will be able to use the command, if you have it in true only the admins can use the command, I only advise setting to true if you want to create an administrative ad

To change the ad price, in the config, lua

To add a banner to the ad, we go to style.css and create

.casino background-image:url(“link of your image or where it is”); color: #ffffff; }

you can also change the color of the colored text

Screenshot

Video
https://streamable.com/q3rcyj

LINK

13 Likes

¡Nice work bro! Nice resource for RP servers

2 Likes

This for esx?

yes it works for esx

Amazing!!! Can u add one for cardealer job as default like police and ems

You can add it yourself, it is easy, I have left a small tutorial above

Good job!

2 Likes

Bro how to increase the ad message text size

in style.css in .anuncios font-size

woooow, a you crazy? Ha-ha-ha. vRP default system :clown_face:

Yes, it is the default of vrp, but I was tired of not being able to send ads well in esx, exm, so I made one the same; D

Nice workkkkkkkkkkkk, i like it! :laughing:

2 Likes

Bro… ¿really?
ESX =~ vRP

If you are not contributing anything, better gtfo :clown_face: :clown_face:

1 Like

nice nice nice work tevichu… :snail:

@Jm_Garcia Could it be done so that you can write all over the banner and not just one line?

Sure, modifying the .css you can do it, I’ll upload a version with that

1 Like

Have a problem, the announcement is not a global, i see but other player no, how to fix this ? thanks for release

It’s weird, everyone is doing well, have you modified something?

1 Like

yes, my bad , now work perfect bro :smiley:

1 Like

hi, how horizontal and veritial align text on this script? thanks