ngd-adnotify

ngd-adnotify allows server admins to put customizable messages on player's screens utilizing a custom UI.

Features:

  • Custom Notify UI

  • Fully customizeable messages, colors, font awesome icons, times, etc.

Dependencies:

  • None! Script is standalone.

Preview Video: Here

Installation:

Add ngd-adnotify to your resources folder and ensure the script in your server.cfg

Click to view the config!
Config = {}

Config.debug = false

Config.Messages = {
    {
        message = 'Welcome to our RP server.  Please follow the rules.', -- Message displayed in notification
        position = 'top-right',                                          -- Position on screen. (Options: top-right, top-left, left, middle, right)
        length = 15,                                                     -- Time in seconds that the message stays on the screen.
        background = 'rgba(0, 0, 0, 0.65)',                              -- Background color and transparency of notification (https://rgbacolorpicker.com/)
        textColor = '#ffffff',                                           -- Text color in notification (https://htmlcolorcodes.com/color-picker/)
        icon = 'fas fa-house',                                           -- Font awesome icon. (https://fontawesome.com/search?o=r&m=free)
        iconColor = '#ffffff',                                           -- Font color (https://htmlcolorcodes.com/color-picker/)
        time = 60                                                        -- Time in minutes between message posting.
    },
    {
        message = 'New rules!  Check Discord for more information.',
        position = 'left',
        length = 10,
        background = 'rgba(247, 0, 0, 0.43)',
        textColor = 'white',
        icon = 'fas fa-book',
        iconColor = '#ffffff',
        time = 60
    },
    {
        message = 'Car show tonight!  Postal 204 at 8PM!',
        position = 'right',
        length = 10,
        background = 'rgba(0, 0, 0, 1)',
        textColor = '#4287f5',
        icon = 'far fa-car',
        iconColor = '#4bf542',
        time = 45
    },
}

Script can be restarted live without any issues!

If you have any problems - Join our Discord for support!

Last updated