INSTALLATION

Read very well and follow all the steps below. If you find any error or have any doubt open a ticket.

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-InfiniteJobs".

2. DEPENDENCIES AND INSTALLATION

To install it add the resource to your scripts folder and put the following in your SERVER.CFG:

ensure Buty-InfiniteJobs-Props
ensure Buty-InfiniteJobs

There are 1 dependencie:

ox_libs

We also recommend our beautifully designed Advanced Progress Bar with lots of functions. This one has a very low price and fits very well with the aesthetics of any server:

https://butycall.tebex.io/package/5384327

You can add it to Infinite Jobs, adding the export in the config_function.lua. If you open ticket in discord, we will be happy to help.

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 experience.

This script comes with 25 jobs already preconfigured and activated, you only have to ensured the script (and dependencies) and they will be ready.

Even so, check the CONFIG of the jobs and configure the uniforms, salaries and vehicles to your liking.

The economy of the jobs is not configured, so we recommend that you review it and adapt it to each person's tastes.

Here you will only have to configure your framework, your database and the location of the Job Center.

In addition to some extra settings, such as the type of gender that your server uses.

In UseKeys, UseFuel, UseDeleteVehicle you activate it in case you have filled some of the integrations in config_functions.


Configuration = {
    Framework = esxHas and 'esx' or qbHas and 'qb' or 'esx',
    Mysql = 'oxmysql', -- Database type: 'oxmysql', 'mysql-async', or 'ghmattisql'
    UseTarget = false, -- -- Activate it if you want to use target. Set to false if you want floating text
    Language = 'en', -- 'en' or 'es' by default (you can create more)
    JobForID = false, -- Do you want the jobs to be by database, i.e police?
    UseClothes = true, -- Do you want users to have to dress?
    EquipToolAutomatically = false, -- If true,the tool will automatically equip when you need it, if false, you will have to use the key to equip it when you need it
    toolbelt = false, -- If true, then the tool will be visible on your belt when you unequip it, if false it will be invisible on your belt
    RequireJobFromAllGroup = true, -- If true, all group members must have the job; if false, only the leader needs the job (esto solo funcionara si JobForID = true)
    Limit_work = {use=false, totalwork=2 , WorkTime=10},
    ZoomandCameras = true, -- disable cameras and zooms
    Color_UI = "#9B37FF", -- Change UI color
    Color_Marker = {106, 3, 247}, -- change marker color (RGB)
    Maxlevel = 10, -- maximum number of levels they can reach
    ControlKey_TakeObj = 73, -- Change the key with which objects in the trunk are grabbed to process (Default: X)
} 

JobCenter = { -- Here you can add more job centers
    {
        coord = vec4(-534.1885, -211.6769, 37.6498, 109.6640), 
        model = "cs_barry",
        jobs = {}, -- If you want you can add different jobs to each one
    },
     {
        coord = vec4(-534.1885, -211.6769, 37.6498, 109.6640), 
        model = "cs_barry",
        jobs = {"miner","plumber"}, -- For example, here only job 1 and 2 would appear.
    },
}

Config_Sell = { --new wholesale and retail system

    activate = false, -- activated

    CreateNPC = { -- random coordinates where it will appear
        {model = "cs_joeminuteman", coord = vec4(1549.2064, 2193.1531, 78.8437, 60.7733)},
        {model = "cs_joeminuteman", coord = vec4(1546.3419, 2199.2021, 78.7436, 17.6115)},
        {model = "cs_joeminuteman", coord = vec4(1542.6492, 2193.8923, 78.8395, 141.4520)},
        {model = "cs_joeminuteman", coord = vec4(1556.7509, 2198.4910, 78.9155, 272.3318)},
    },

    wholesale = 1500, -- Minimum amount you must have to sell
    retail = 5, -- Minimum amount you must have to sell

    paymentmethod = {
        option = "cash", -- cash/bank/item
        item_name = "" -- if you use <option = "item"> then put here the name of the item you will pay with.
    },

    items = {
        { 
            img = "./img/item.png", 
            name = "meth", 
            label = "wood", 
            price = {
                wholesale = {min = 1, max = 10}, -- price min and max
                retail = {min = 1, max = 60}, -- price min and max
            } 
        },
        { 
            img = "./img/item.png", 
            name = "meth",
            label = "Stone", 
            price = {
                wholesale = {min = 1, max = 10}, -- price min and max
                retail = {min = 1, max = 60}, -- price min and max
            } 
        },
    }
}

4. CHANGING THE AESTHETICS

As already explained, the colour of the Interface is changed from the CONFIG.lua

But you can also change the BACKGROUND IMAGE, either by putting one of your choice or by changing the colour from one of the backgrounds we have added in the BACKGROUND folder inside the HTML folder.

For that you will have to go to line 17 of the INDEX.HTML and change the name of the image:

 <img class="background-img" src="./background/" alt="">

These are the colours in which the BACKGROUND is available. You can always add more.

Last updated