Client-Side

CreateThread(function()
    Wait(1000)
    
    if not Config.Shells.K4MB1 then
        return
    end
    
    local shells = {
        ['standardmotel_shell'] = {
            label = 'Standard Motel',
    
            tags = {'furnished', 'k4mb1'},
            rooms = 1,
    
            model = 'standardmotel_shell',
    
            doors = {
                x = -0.34,
                y = -2.46,
                z = 498.44,
                heading = 273.05
            },
    
            interactable = {
                {
                    target = vector4(-3.05, 1.9, 499.18, 89.42),
                    targetSize = vector3(0.9, 0.8, 2.0),
                    options = {
                        {
                            timeUsage = 7000,
                            targetIcon = "fa-solid fa-sink",
                            type = 'sink',
                            waterUsage = 5000, -- Mililiters
                            billType = 'water',
                            coords = {
                                particles = vector3(-3.181917, 1.890949, 499.4141),
                                player = vector4(-2.36, 1.91, 498.45, 91.9),
                            },
                        },
                        {
                            timeUsage = 5000,
                            targetIcon = "fa-solid fa-glass-water-droplet",
                            type = 'sink_drink',
                            waterUsage = 300, -- Mililiters
                            billType = 'water',
                            coords = {
                                particles = vector3(-3.181917, 1.890949, 499.4141),
                                player = vector4(-2.36, 1.91, 498.45, 91.9),
                            },
                        },
                    }
                },
                {
                    target = vector4(-2.47, 0.68, 499.52, 173.06),
                    targetSize = vector3(2.0, 1.1, 3.3),
                    options = {
                        {
                            timeUsage = 10000,
                            targetIcon = "fa-solid fa-shower",
                            type = 'shower',
                            waterUsage = 120000, -- Mililiters
                            billType = 'water',
                            coords = {
                                particles = vector3(-2.808648, 0.9071249, 500.7754),
                                player = vector4(-2.61, 0.7, 498.52, 86.88),
                            },
                        }
                    },
                },
            },
            
            images = {
                'https://cfx-nui-vms_housing/html/images/shell/standardmotel_shell.png',
            },
        },
    }
    
    addShells(shells)
end)

Last updated