stevku's workshop
  • 🚕stevku_taxijob
    • shared/config.lua
    • shared/translate.lua
    • client/provide.lua
  • STEVKU_CARTRANSMITTER
    • shared/config.lua
    • shared/translate.lua
    • client/provide.lua
  • stevku_medicalpc
    • shared/config.lua
    • server/provide.lua
    • Incident API
  • STEVKU_PAGERS
    • client/provide.lua
    • shared/config.lua
    • shared/translate.lua
    • Pager API
Powered by GitBook
On this page
  1. stevku_medicalpc

shared/config.lua

All you can find in shared/config.lua

config              = {}
config.jobs         = {'ambulance'}
config.useCmd       = true -- Option to open pc by command
config.cmds         = {'mpc', 'medicalpc'}
config.useTarget    = true -- Option to open pc by target
config.targetScript = 'ox_target' -- only ox_target for now
config.targets      = {
    {
        coords = vector4(-433.89, -325.34, 34.91, 156.59),
        size   = vector3(1.0, 1.0, 1.0),
        icon   = 'fa-solid fa-computer',
        label  = 'Turn on PC',
        debug  = false
    }
}
config.payment_list = {
    {
        price = 10000,
        label = 'Vascular Surgery'
    },
    {
        price = 100,
        label = "Ringer's solution"
    }
}
config.prctFromInvoice = 0.5 -- Example, 50% (0.5) for doctor, who sent invoice, another 50% for hospital account | If you wanna disable this, use -1, if not use number 0.0 - 1.0
config.insurance = {
    {
        label     = 'Bronze Plan',
        weekPrice = 1000,
        discount  = 0.25
    },
    {
        label     = 'Gold Plan',
        weekPrice = 2500,
        discount  = 0.5
    }
}
config.bossMinGrade = {
    {
        job   = 'ambulance',
        grade = 0
    }
}
Previousclient/provide.luaNextserver/provide.lua

Last updated 7 months ago