Linx
Browse AddonsDownload RLIB
v2.x.x
v2.x.x
  • Introduction
  • Showcase
  • Changelog
    • ◾2.4.0.0
    • ◾2.3.1.0
  • FAQ
    • ◾Addon Won't Show
    • ◾Incompatible Addons
    • ◾Modified Script
    • ◾Refunds
    • ◾Script Errors
    • ◾When Are Updates?
  • ❱ Setup
    • ◾Install
    • ◾Verify
    • ◾Workshop
    • ◾Docs/Web
  • ❱ Configuration
    • ◾Env
    • ◾Fonts
    • ◾Languages
    • ◾Settings
      • General
  • ❱ First Use
    • ◾Binds
  • ❱ Developers
  • ❱ Internal
    • ◾Rules
    • ◾Slider
    • ◾Web Demo
  • ❱ Doc References
    • ◾Status
Powered by GitBook
On this page
  1. ❱ Internal

Slider

This is an example website you can attach to each slide in this script. When a player sees a slider with news they are interested in; they can click the slide and get redirected to a website of your choice.

You can modify the URLs for your slider references in:addons\addon_folder\lua\modules\linx\cfg\sh_cfg_slider.lua

Slider settings can be configured within the cfg.slider.items table of the config file.

cfg.slider.items =
{
    {
        enabled     = true,
        title       = 'Advertise Your Banners',
        desc        = 'Edit the sh_cfg_slider.lua file to change these',
        img         = 'http://g.rlib.io/banners/static/2.jpg',
        link        = 'https://linx.rlib.io/interval/slider',
    },
    {
        enabled     = true,
        title       = 'Documentation',
        desc        = 'Read more about this addon on the official docs page',
        img         = 'http://g.rlib.io/banners/static/3.jpg',
        link        = 'https://linx.rlib.io/interval/slider',
    },
    {
        enabled     = true,
        title       = 'Stay Tuned',
        desc        = 'More product updates by this developer coming soon',
        img         = 'http://g.rlib.io/banners/static/4.jpg',
        link        = 'https://linx.rlib.io/interval/slider',
    },
}
PreviousRulesNextWeb Demo

Last updated 4 years ago

◾