Shells System

Config.ShellBlipMethod = 2
--[[
    1 - Always shows all available shells
    2 - Shows all available shells after using Config.ShellCommand command
]]

Config.ShellCommand = 'shells' -- For Blip Method 2
Config.ShellCommandAtManagePed = true -- Whether adds target option to Config.ManagePed which will execute Config.ShellCommand
Config.ShellCommandTime = 5 -- Minutes until blips will disappear

Config.Shells = {
    ['Shell_1'] = {
        label = "Social Apartment",
        manyOwners = true, -- Whether many players can own same apartment (there will be still different buckets and cabinets)
        price = 250000,
        paymentMethods = {
            'cash',
            'bank'
        },
        defaultStashWeight = 50000,
        maxStashWeight = 100000,
        pricePerKilogram = 10000,
        teleports = {
            Entrance = {
                Target = vec4(-772.8025, 313.0164, 85.6981, 359.7212),
                Teleport = vec4(-787.3502, 315.6306, 187.9135, 270.0614)
            },
            Exit = {
                Target = vec4(-787.3447, 315.5965, 187.9135, 91.6216),
                Teleport = vec4(-772.8371, 313.0760, 85.6981, 183.0951)
            }
        },
        cabinets = {
            {
                name = 'main',
                label = "Open Cabinet",
                coords = vector4(-788.9673, 320.9464, 187.3133, 88.1175),
                size = vec3(2.0, 1.5, 1.0)
            }
        },
        wardrobes = {
            {
                label = "Open Wardrobe",
                coords = vector4(-796.3692, 328.2163, 190.7160, 269.4118),
                size = vec3(3.5, 1.5, 1.0)
            }
        }
    }
}

Last updated