Giter Site home page Giter Site logo

-exm-release-nui-announce-system's Introduction

https://streamable.com/q3rcyj

[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

-exm-release-nui-announce-system's People

Contributors

jmgarciayt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.