Config

Config = {}
--The current phones are supported:
--[[
    'qb-phone'
    'qs-phone'
    'GKSPhone'
    'RoadPhone'
    'lb-phone'
    'custom'
]]
Config.Framework = 'qbcore'-- [ONLY SUPPORTS 'qbcore' FOR NOW! THIS IS FOR A FUTURE UPDATE!]

--If you wish to add your own head into client_no_encryption.lua or open up a ticket in our discord!
Config.PhoneResource = 'qb-phone'

Config.Police = {
    --The name of the police jobs you use.
    Jobs = {
        'police',
        'sheriff',
        'sasp',
        'lspd',
        --add your own here
    },

    --Change this to the number of police you require to be online before being allowed to deliver a specific vehicle, Leave at 0 if you wish to not require police online.
    --I decided to not have this effect the open world chopshop style due to how annoying it would be for players to go get a car and go to the chopshop only to find out there is no police online.
    Required = 0,

    --This enables a multiplier based on police online that adds more parts to the players overall loot.
    --if 4 officers are online and a player gets 20 rubber, 10 scrap metal etc they would receieve 100% more of each reward, so in total they would get 30 rubber, 15 scrap metal etc.
    PercentageMultipliersEnabled = true,
    PercentageMultipliers = {
        --[number of cops (must be int)] = percentage to add (must be int),
        [2] = 50,--With 2 cops online we will add 50% more materials, (If player received 10 scrap we would add 5 to it, total: 15)
        [4] = 100,--With 4 cops online we will add 100% more materials, (If player received 10 scrap we would add 10 to it, total: 20)
        [8] = 200,--With 8 cops online we will add 200% more materials, (If player received 10 scrap we would add 20 to it, total: 30)
    },

    Options = {
        --Blip settings
        sprite = 380,
        display = 6,
        scale = 0.7,
        short_range = true,
        colour = 1,
        text = 'Vehicle Theft',

        --How long the blip lasts in seconds.
        lasting = 180,

        --Notification
        notif = {
            text = 'Vehicle Stolen Report: Plate %s, Location has been marked on your GPS.',
            type = 'primary'
        }
    }
}

--Enable/Disable strong text in the messages, If you get "<strong>" in your text/email set this to false.
Config.StrongText = false

--Best to leave this false unless told otherwise, Enables commands that should only be used when trying to test things.
Config.Debug = false

--A cooldown in seconds that starts after completing a specific delivery job.
Config.DeliverJobCooldown = 1200 --In seconds

--This is the rewards that the player gets when they complete a vehicle dismantle or when they complete a list.
Config.RewardAmounts = {
    --Rewarded always (Completing specific vehicle)
    ['default'] = {rep = 1},

    --Awarded when completing a list
    --If you don't want money to be rewarded to the player simply just remove it like so:
    --['easy'] = {rep = 2},
    ['easy'] = {rep = 2, money = 1000},
    ['hard'] = {rep = 4, money = 1000},
}

--The amount of time it takes to dismantle a part in seconds.
Config.DefaultDismantleTime = 10

--This enables a menu option where you can chose to spend reputation points to decrease the amount of time it takes to dismantle parts.
Config.EnableChoppingSpeedUpgrades = true
--Below are the levels and reputation points you spend to gain the level.
--[[
    {
        dismantle_time_divider = the number that Config.DefaultDismantleTime gets divided by,
        rep = (the rep it costs to upgrade to this level)
    },
]]
--Make sure to keep them in the order going from top to bottom, First levels at the top and decending into the better levels.
Config.ChoppingSpeedLevels = {
    {dismantle_time_divider = 1, rep = 0},--DON'T TOUCH! Its for the first level and needs to be like this! 
    {dismantle_time_divider = 2, rep = 10},
    {dismantle_time_divider = 3, rep = 15},
    {dismantle_time_divider = 4, rep = 25},
}

--Blips
--Set this to false if you want the chop shop starting locations to be a secret, Makes your players have to hunt down the locations, Some people like it, Some don't.
Config.ShowChopLocations = true
Config.BlipOptions = {
    sprite = 380,
    display = 4,
    scale = 0.7,
    short_range = true,
    colour = 2,
    text = 'Chop Shop'
}

--Changes the colour of the radius blip
Config.RadiusBlipColor = 2

--You can change the names of the NPCs in the client_no_encryption.lua file.
--Make sure everything with a %s still has the correct amount otherwise you will receive errors, or your messages will be missing critical information.
--%s is a variable.
--If you need to change certain variables check the options in client_no_encryption.lua, You can edit all you need but make sure to edit it everywhere else it is referenced.
Lang = {
    ['chop_shop'] = 'Chop Shop',
    ['you_are_busy'] = 'You are busy doing something else.',
    ['error_getting_info'] = 'Error getting reputation, Try again.',
    ['receive_text_msg_soon'] = 'You will recieve a text message with a location soon.',
    ['take_vehicle_to'] = 'Now take the vehicle to any known chop shop location.',
    ['no_list'] = 'You currently dont have a list!',
    ['have_list'] = 'You already have a list, complete that one first.',
    ['speak_with'] = 'Speak with %s',
    ['chop_vehicle_blip'] = 'Chop Shop Vehicle',
    ['vehicle_delivery'] = 'Vehicle delivery',
    ['dismantling'] = 'Dismantling..',
    ['list'] = 'List',
    ['txt_msg_list'] = 'Here is your %s list: %s%s%s%s Good luck!',
    ['txt_msg_spec_veh'] = 'You are looking for a %s%s%s With the numberplate: %s%s%s, A radius location has been marked on your map.',
    ['time_hms'] = '%s hours, %s minutes and %s seconds.',
    ['time_ms'] = '%s minutes and %s seconds.',
    ['time_s'] = '%s seconds.',
    ['not_enough_pd'] = 'There is not enough officers on duty, Minimum officers required is: %s',
    ['no_job'] = 'We have no jobs for you at the moment, Try again in: %s',
    ['all_locations_busy'] = 'All locations are currently busy, Try again soon.',
    ['upgraded_dismantle_speed'] = 'You have upgraded your dismantle speed! This cost you %s rep',
    ['upgrade_dismantle_speed_not_enough'] = "You don't have enough rep to do this! You need %s more rep.",
    ['gained_rep'] = 'You gained %s chopshop rep!',
    ['finished_list_gained_rep'] = 'You finished your list and gained %s extra rep!',
    ['finished_list_gained_money'] = 'You was also rewarded $%s for completing the list.'
}

Menu_Lang = {
    ['deliver_specific_vehicle'] = 'Deliver a specific vehicle',
    ['check_list'] = 'Check Current List',
    ['get_easy_list'] = 'Get a easy list of vehicles',
    ['get_hard_list'] = 'Get a hard list of vehicles',
    ['header'] = 'So you are interested in cars? I may have something for you..',
    ['current_rep'] = 'Current Rep: %s',
    ['dismantle_level'] = 'Dismantle Upgrade Level: %s',
    ['dismantle_faster'] = 'You currently dismantle %sx faster',
    ['upgrade_dismantle'] = 'Upgrade Dismantle Speed For %s rep',
    ['dismantle_upgrade_info'] = 'This upgrade makes you dismantle %sx faster',
    ['stop_talking'] = 'Stop Talking',
}

Draw_Lang = {
    ['chop_vehicle'] = {'Press [E] to Chop Vehicle', 2, 38},--[Message, padindex, control index]
    ['store_part'] = {'Press [E] to Store Part', 2, 38, 'Store Part Here'},--[Message, padindex, control index, Message when too far]
    ['dismantle_part'] = {'Press [E] to Dismantle', 2, 38, 'Dismantle %s'},--[Message, padindex, control index, Message when too far], You can change %s here to "Part" if you don't want the bone name to be displayed.
}

Last updated