Hotels

How to add new Hotel ?

    ["crastenburg_2"] = { 
        label = "Crastenburg Hotel",
        coords = vec3(-654.8, -1095.59, 58.36), -- PolyZone of hotel
        zoneDist = 25.0, -- PolyZone Radius
        isJob = false, -- Job Name or false
        Peds = {
            ['reciption'] = {coords = vector4(-661.68481445312, -1102.0317382812, 14.059947013855, 155.97193908691), Scenario ='CODE_HUMAN_CROSS_ROAD_WAIT',  Ped = 'cs_solomon'},
            ['managment'] = {coords = vector4(-660.78, -1102.35, 13.56, 150.08),  Scenario ='PROP_HUMAN_SEAT_CHAIR_UPRIGHT', Ped = 'cs_marnie'},
            ['returnItems'] = {coords = vector4(-662.71, -1101.45, 13.56, 156.35),  Scenario ='PROP_HUMAN_SEAT_CHAIR_UPRIGHT', Ped = 'cs_molly'},
        },
         Blip = {
            label = 'Crastenburg Hotel',
            sprite = 475,
            color = 36,
        },
        StashCapacity = {
            [1] = {
                weight = 500000,
                slots = 40,
                price = 0, 
                deafult = true, -- Deafult Stash
            },
            [2] = {
                weight = 1000000,
                slots = 60,
                price = 3000,
            },
            [3] = {
                weight = 1500000,
                slots = 80,
                price = 5000,
            },
            [4] = {
                weight = 2000000,
                slots = 100,
                price = 6000,
            },
            [5] = {
                weight = 2500000,
                slots = 120,
                price = 7000,
            },
            [6] = {
                weight = 3000000,
                slots = 150,
                price = 10000,
            },
        },
        Elevators = {['crastenburg_2'] = true}, -- In sh_elevators.lua
        floors = 6,
        MainPicture = 'https://cfx-nui-l2s-hotels/html/imgs/wiwangroom.png', -- Main Picture For Hotel Rooms
        Rooms = {
            [1] = {
                room = 101,
                floor = 1,
                stash = {coords = vector3(-660.65, -1098.61, 22.04), heading = 64.88},
                outfits = {coords = vector3(-660.52, -1099.34, 22.04), heading = 64.88},
                doorlock = {coords = vector3(-660.09, -1101.34, 22.04), objHeading = 64.88, objHash = 2011001180},
                price = 1000,
            },
            [2] = {
                room = 102,
                floor = 1,
                stash = {coords = vector3(-654.5200000000001, -1102.38, 22.04), heading = 244.88},
                outfits = {coords = vector3(-654.6500000000001, -1101.65, 22.04), heading = 244.88},
                doorlock = {coords = vector3(-655.08, -1099.65, 22.04), objHeading = 244.88, objHash = 2011001180},
                price = 1000,
            },
            -- ...
        }
    },

Last updated