Config

Config = {}

Config.Core = 'qb-core'
Config.openByCommand = true -- if you want to open it by command or not! (true/false) -- /businessmenu
Config.deductMoneyFrom = 'bank' -- bank/cash
Config.returnPercentOnSell = 70
Config.usePed = true --If false Trigger it with TriggerEvent('peps-buybusiness:openmenu')
Config.useTarget = false

Config.PedCoords = vector4(-545.03, -204.38, 38.22, 211.12) 
Config.PedModel = 'a_m_y_smartcaspat_01' 
Config.PedScenario = 'PROP_HUMAN_STAND_IMPATIENT'
Config.FAIcon = 'fas fa-business-time'

Config.jobs = {
    ['unicorn'] = { --Must be the job here also the Job Needs to exist in QBCore/shared/jobs or you will not be able to sell it. So no custom names here!
        label = 'Unicorn',
        jobName = 'unicorn',
        imageUrl = 'https://i.ibb.co/RTVw0fv/Screenshot-260.png',
        price = 500000,
    },
}

Config.Locale = {
    -- Notifications
    ['BossNow'] = "You are now the boss of ",
    ['NoMoney'] = "You dont have enough Money! You Need $",
    ['Sold'] = "You have Sold your Business and got back $",
    ['NotYourBusiness'] = "You cant sell a Business that dosnt belong to you! You might sold it already!",

    -- Ped Interaction
    ['openMenuPed'] = "See Businesses",
  }

Last updated