Configuration

Config = {}

Config.EnterMotelRoom = {
    [1] = vector3(307.57, -213.29, 54.22),
    [2] = vector3(311.36, -203.46, 54.22), 
    [3] = vector3(315.79, -194.79, 54.22),
    [4] = vector3(312.99, -218.51, 58.02),
    [5] = vector3(307.35, -213.24, 58.02),
    [6] = vector3(311.22, -203.35, 58.02),
    [7] = vector3(315.78, -194.62, 58.02), 
    [8] = vector3(339.20, -219.47, 54.22),
    [9] = vector3(342.93, -209.50, 54.22),
    [10] = vector3(346.78, -199.66, 54.22),
    [11] = vector3(335.00, -227.38, 58.02), 
    [12] = vector3(339.27, -219.49, 58.02),
    [13] = vector3(343.08, -209.54, 58.02),
    [14] = vector3(346.69, -199.66, 58.02)
}

Config.RentService = {
    Enable = true,      -- If false players will not be charged
    Paytime = 30,       -- 30min
    Amount = 150,       -- Amount of charging player after paytime
}

Config.ActionDistance   = 2.0               -- Action distance between stash, bed, shower etc.
Config.DoorDistance     = 3.0               -- Outdoor distance 
Config.DrawDistance     = 35.0              -- Outdoor marker distance
Config.MotelExtras = {
    blipname = "Motel",
    blipsprite = 475,
    blipdisplay = 4,
    blipscale = 0.6,
    blipcolor = 23,
    setmarkers = true,
    settext = true,
    markercolor = { r = 220, g = 180, b = 40 }
}

Config.UseQBInventoryStash = true       -- If false you can use your own stash export/event below
Config.CustomInventoryStash = function()
    -- Add your own export/event here
    -- EXAMPLE:
    -- exports.ox_inventory:openInventory('stash', {id='TestStash'})    -- "TestStash" needs to be registered in yourinventory/data/stashes.lua
    -- exports.ox_inventory:openInventory('stash', 1)                   -- Open the first stash in data/stashes.
end

Config.Target               = "qb-target"                               -- "qb-target" or "ox_target"
Config.Commands             = "newmotel"                                -- With this command you can give new motel room
Config.NewroomTime          = 60000                                     -- 60sek for a new room
Config.Gsr                  = true                                      -- true if you want gsr deleted
Config.SleepHealth          = true                                      -- if you do true the player will be given health when sleeps
Config.Health               = 25                                        -- How much should the health increase after sleeping once
Config.SleepCoolDown        = 20000
Config.ShowerCoolDown       = 20000
Config.SleepTime            = 20000
Config.ShowerTime           = 7000
Config.motelCoord           = vector3(324.74, -213.13, 54.09)
Config.motelDoor            = vector3(151.41, -1007.74, -99.0)
Config.motelHeading         = 6.09
Config.motelStash           = vector3(151.23, -1003.14, -99.0)
Config.motelOutfits         = vector3(151.75, -1001.36, -99.0)
Config.motelShower          = vector3(154.06, -1000.6, -99.0)
Config.motelSleep           = vector3(154.45, -1004.54, -99.78)
Config.ShowerCoords         = vector3(154.08, -1000.13, -100.10)        -- Don't Touch

Last updated