INSTALLATION

1. DOWNLOAD

The first step is to download the product we have just purchased. To do this we will go to our KEYMASTER account and search for "Buty-License".

2. DEPENDENCIES AND INSTALLATION

This script does not need any dependencies or progress bar.

Just place the script under your CORE and your core scripts:

ensure Buty-license

So that there is no mess or overlap, you will have to delete any other license script you have. Same with database tables.

And when you have everything clean without another license script, you will have to install the Buty-license SQL.

3. CONFIG

The following will explain all the settings, one of the most important things that I recommend you spend a few minutes to understand in order to offer your users the best possible experien

Config = { }

Config.Framework = { -- All the information of your framework
    FrameworkName = 'esx', -- esx or qb
    FileName = 'es_extended',
    SQLWrapper = 'oxmysql' --  oxmysql / mysql-async / ghmattimysql
}

UseAnimation = {true, "paper_1_rcm_alt1-9", "player_one_dual-9"} -- Change the animation that the character does to show a license

DrawMarker = {type = 1,color = {106, 3, 247}} -- Change the marker that appears on the head of the player you want to show a license to

Config.Open = {
    Key = {
        Active = true,
        Key = 56,
    },
    Command = {
        Active = true,
        Name = 'licenses'
    }
}

Config.CustomLicenses = { -- Here you can create all the licenses you want. Like a hunting license...
    {
        Type = 'test', -- This is the type of license that you will later add in the export. It's the name too.
        Style = { -- The design of the license that will appear on the screen.
            Border = 'red',
            Color = 'red'
        }
    }
}

Config.UI = { -- Translate interface
    YourLicenses = 'Your Licenses',
    SeeLicense = 'See',
    ShowLicense = 'Show'
}

Config.Translation = { -- More translations
    drivinglicense = 'Driving',
    identitylicense = 'Identity',
    weaponlicense = 'Weapon',
    AlreadyHaveLicense = 'You / the player already have this license',
    NoOneAround = 'There is no one around to show',
    StopShow = 'To stop showing press BACKSPACE'
    ShowLicense = 'Press ~d~ENTER~s~ to show the license',
    StopShowing = 'Press ~d~BACKSPACE~s~ to stop showing',
}
```

If you want to edit the aesthetics or design. You have the HTML open so you can modify the style and everything as you want.

The script is RESPONSIVE for all resolutions as well.

Last updated