Adding new motel

Here's how you add new motel

circle-exclamation

Non MLO

Here's some example to do that.

   ['cool_motel'] = {
        label = "Motel Name",
        rent = {
            coords = vector4(290.25, -268.96, 54.0, 338.77) -- rent coords, must be vector 4, this is where the guy stand
        },
        price = 10, -- Motel prices
        motel = {
            ["cool:1"] = { --motel index [MUST BE UNIQUE]
                enter = vector4(286.91, -266.79, 54.0, 339.62), -- coords where you enter the motel
                label = "Cool 1", -- Motel label, example Pinkcage 1 that mean Pinkcage room 1
                locked = true, -- Don't touch it
                owned = false, -- Don't touch it
            },
        }
    }

MLO

For this one you need more effort

Here's some example

Explanation

circle-info

Make sure your doorlock id and motel index are the same

Example:

Your doorlock config are like this

pinkcage:1 is the id of your doorlock so your motel room config should be like this

enter coords must be the same as your objCoords

Stash, Logout, Outfit

These 3 config uses polyzone. You can use /pzcreate box after you configure the position and size. You should have this format of config

After that, you can configure your stash to this format

Last updated