Job ranks

Guide for editing the ranks that are available in the resource

This file can be located in peuren_gruppe6/shared/sh_main.lua.

You can edit the pre-configured rank levels or add your new rank levels by following the examples.

Config.Ranks = {--Don't touch this
    Levels = {--Don't touch this
        [1] = {--Rank level id
            minXP = 0,--minimum needed xp to unlock this level
            job = 'atm'--When a player reaches this rank level he unlocks this job type
        },
        [2] = {--Rank level id
            minXP = 50,--minimum needed xp to unlock this level
            job = 'bank'--When a player reaches this rank level he unlocks this job type
        },
        [3] = {--Rank level id
            minXP = 1000,--minimum needed xp to unlock this level
            job = 'vault'--When a player reaches this rank level he unlocks this job type
        }
    }
}

Jobs

This file can be located in peuren_gruppe6/shared/sh_main.lua.

Config.Jobs = {
    ['atm'] = {
        label = 'ATM JOB',--job rank type label name 
        description = 'You will be collecting or delivering money to and from atms',
        group = true,--Does this job type support groups?
        cancelPenalty = 100,--This means how mucj xp will a player loose who cancels a taken job, to disable this, set it to cancelPenalty = false

        rewards = {--Rewards that the players get after finishing the job
            account = 'bank', --Account to send money to, cash or bank
            perBag = 500, --How much is paid for one single successfull pickup/delivery job
            groupMultiplier = true, --Multiply this number by the group count
            rankXp = 100 --Add rank xp after finished delivery
        },

        bag = {-- Money bag carrying
            item = 'money_bag',--If this has a set item name, it will give money bag as an item, to dissable this set item = false,
            model = 'xm_prop_x17_bag_01b',--Money bag model this is spawned only when you place it on the ground or in a vehicle
            disableSprint = false,
            disableJump = true,
            disableFight = false,      
            clothing = {--Bag clothing data
                --id is the clothing bag component id, drawable is the clothing item id and texture is the bags texture/color
                male = { id = 5, drawable = 45, texture = 0 },
                female = { id = 5, drawable = 45, texture = 0 }
            },
        },  

        vehicle = {--Don't touch this
            model = 'stockade',--Vehicle spawn name
            cargo = {
                areaSize = vec3(0.8, 3.0, 8.0),
                spacing = vec3(0.29, 0.60, 0.17),
                offsetPos = vec3(0.3, 3, 0.43),      
                trunkBones = {
                    -- [door id, rage is 0 - 5] = bone name
                    [2] = 'dside_r',
                    [3] = 'pside_r'
                }
            },
        }

        --- gruppe6 Nspeedo vehicle bag offsets
        -- vehicle = {--Don't touch this
        --     model = 'g6speedo',--Vehicle spawn name
        --     cargo = {
        --         areaSize = vec3(0.8, 3.0, 8.0),
        --         spacing = vec3(0.29, 0.60, 0.17),
        --         offsetPos = vec3(0.3, 2.3, -0.25),      
        --         trunkBones = {
        --             -- [door id, rage is 0 - 5] = bone name
        --             [2] = 'dside_r',
        --             [3] = 'pside_r'
        --         }
        --     },
        -- }
    },

    ['bank'] = {
        label = 'BANK JOB',--job rank type label name 
        description = 'You will be collecting or delivering money to and from banks',
        group = true,--Does this job type support groups?
        cancelPenalty = 100,--This means how mucj xp will a player loose who cancels a taken job, to disable this, set it to cancelPenalty = false 

        rewards = {--Rewards that the players get after finishing the job
            account = 'bank', --Account to send money to, cash or bank
            perBag = 1500, --How much is paid for one single successfull pickup/delivery job
            groupMultiplier = true, --Multiply this number by the group count
            rankXp = 100 --Add rank xp after finished delivery
        },

        bag = {-- Money bag carrying
            item = 'money_bag',--If this has a set item name, it will give money bag as an item, to dissable this set item = false,
            model = 'xm_prop_x17_bag_01b',--Money bag model this is spawned only when you place it on the ground or in a vehicle
            disableSprint = false,
            disableJump = true,
            disableFight = false,      
            clothing = {--Bag clothing data
                --id is the clothing bag component id, drawable is the clothing item id and texture is the bags texture/color
                male = { id = 5, drawable = 45, texture = 0 },
                female = { id = 5, drawable = 45, texture = 0 }
            },
        },

        vehicle = {--Don't touch this
            model = 'stockade',--Vehicle spawn name
            cargo = {
                areaSize = vec3(0.8, 3.0, 8.0),
                spacing = vec3(0.29, 0.60, 0.17),
                offsetPos = vec3(0.3, 3, 0.43),      
                trunkBones = {
                    -- [door id, rage is 0 - 5] = bone name
                    [2] = 'dside_r',
                    [3] = 'pside_r'
                }
            },
        }

        --- gruppe6 Nspeedo vehicle bag offsets
        -- vehicle = {--Don't touch this
        --     model = 'g6speedo',--Vehicle spawn name
        --     cargo = {
        --         areaSize = vec3(0.8, 3.0, 8.0),
        --         spacing = vec3(0.29, 0.60, 0.17),
        --         offsetPos = vec3(0.3, 2.3, -0.25),      
        --         trunkBones = {
        --             -- [door id, rage is 0 - 5] = bone name
        --             [2] = 'dside_r',
        --             [3] = 'pside_r'
        --         }
        --     },
        -- }
    },

    ['vault'] = {
        label = 'PACIFIC BANK JOB',--job rank type label name 
        description = 'You will be collecting or delivering money to and from Pacific bank',
        group = true,--Does this job type support groups?
        cancelPenalty = 100,--This means how mucj xp will a player loose who cancels a taken job, to disable this, set it to cancelPenalty = false

        rewards = {--Rewards that the players get after finishing the job
            account = 'bank', --Account to send money to, cash or bank
            perBag = 2500, --How much is paid for one single successfull pickup/delivery job
            groupMultiplier = true, --Multiply this number by the group count
            rankXp = 100 --Add rank xp after finished delivery
        },

        bag = {-- Money bag carrying
            item = 'money_bag',--If this has a set item name, it will give money bag as an item, to dissable this set item = false,
            model = 'xm_prop_x17_bag_01b',--Money bag model this is spawned only when you place it on the ground or in a vehicle
            disableSprint = false,
            disableJump = true,
            disableFight = false,      
            clothing = {--Bag clothing data
                --id is the clothing bag component id, drawable is the clothing item id and texture is the bags texture/color
                male = { id = 5, drawable = 45, texture = 0 },
                female = { id = 5, drawable = 45, texture = 0 }
            },
        },

        vehicle = {--Don't touch this
            model = 'stockade',--Vehicle spawn name
            cargo = {
                areaSize = vec3(0.8, 3.0, 8.0),
                spacing = vec3(0.29, 0.60, 0.17),
                offsetPos = vec3(0.3, 3, 0.43),      
                trunkBones = {
                    -- [door id, rage is 0 - 5] = bone name
                    [2] = 'dside_r',
                    [3] = 'pside_r'
                }
            },
        },

        --- gruppe6 Nspeedo vehicle bag offsets
        -- vehicle = {--Don't touch this
        --     model = 'g6speedo',--Vehicle spawn name
        --     cargo = {
        --         areaSize = vec3(0.8, 3.0, 8.0),
        --         spacing = vec3(0.29, 0.60, 0.17),
        --         offsetPos = vec3(0.3, 2.3, -0.25),      
        --         trunkBones = {
        --             -- [door id, rage is 0 - 5] = bone name
        --             [2] = 'dside_r',
        --             [3] = 'pside_r'
        --         }
        --     },
        -- }

        container = {
            model = 'prop_container_03_ld',
            color = 7,
            doors = {
                left = "prop_container_door_mb_l",
                right = "prop_container_door_mb_r", 
            }
        }
    }
}

Last updated