Wert Merryweather Job

You can access the setup information you need about this product

INSTALLATION

1 - Upload the script folder to the location of your resources

2 - Don't forget to check that your target system and polyzone script are working (If you use target but polyzone requid everytime)

3 - Do not forget to add all the sql file contained in the folder to your database

4 - You can check the config file and customize it according to yourself

5 - Don't forget to add the job data below to your own job list

6 - Please add the items to your list in the items section below

7 - Installation successful, have a good funs

JOB LIST

The grade and its descriptions are as follows

-- Merryweather
    ['merryweather'] = {
        label = 'Merryweather',
        defaultDuty = true,
		offDutyPay = false,
		grades = {
            ['0'] = {
                name = 'Recruit',
                payment = 50
            },
            ['1'] = {
                name = 'Officer',
                payment = 100
            },
            ['2'] = {
                name = 'Sergeant',
                payment = 150
            },
            ['3'] = {
                name = 'Lieutenant',
                payment = 200
            },
            ['4'] = {
                name = 'General',
                isboss = true,
                payment = 250
            },
        },
    },

ITEMS

These are the default items and their codes, you can change them later if you want

Note : Item images in script folder

OX LIB OPTION

There are many ox settings available in the files, if you want, you can configure them.

Config OX Settings

If you want to use ox_lib, please check if this link is enabled on fxmanifest.check it out from inside lua. this must be turned on before you can use ox_lib. After opening it, it will be enough to use the refresh and ensure commands.

OX Lib call

OX INVENTORY IMPORTANT STEP

If you have turned on the ox inventory feature via config and you are an ox inventory user, please perform this step

1 - Go ox_inventory/modules/items/client.lua

2 - Place the Decodes below between the other item usage codes that are in the file.

OPEN FILES

Config File

Config_jobs File

lang.lua

editable_client file

editable_server file

FINISH

Last updated