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
Config = {}
Config.EnterMotelRoom = {
[1] = vector3(-1493.72, -668.31, 29.03),
[2] = vector3(-1498.14, -664.74, 29.03),
[3] = vector3(-1495.33, -661.58, 29.03),
[4] = vector3(-1490.71, -658.3, 29.03),
[5] = vector3(-1486.76, -655.41, 29.58),
[6] = vector3(-1482.16, -652.14, 29.58),
[7] = vector3(-1478.24, -649.14, 29.58),
[8] = vector3(-1473.62, -645.79, 29.58),
[9] = vector3(-1469.66, -642.94, 29.58),
[10] = vector3(-1465.11, -639.6, 29.58),
[11] = vector3(-1461.23, -640.87, 29.58),
[12] = vector3(-1452.39, -653.19, 29.58),
[13] = vector3(-1454.36, -655.96, 29.58),
[14] = vector3(-1458.99, -659.17, 29.58),
[15] = vector3(-1462.98, -662.19, 29.58),
[16] = vector3(-1467.52, -665.55, 29.58),
[17] = vector3(-1471.56, -668.4, 29.58),
}
Config.RentService = {
Enable = true, -- If false players will not be charged
Paytime = 30, -- 30min
Amount = 150, -- Amount of charging player after paytime
}
Config.motelCoord = vector3(-1478.02, -661.67, 28.94)
Config.Commands = "newmotel" -- With this command you can give new motel room
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 = {markerid=21, r=50, g=200, b=160}
}
Config.UseOXInventoryStash = 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.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.motelDoor = vector3(151.41, -1007.74, -99.0)
Config.motelHeading = 6.09
Config.motelStash = vector3(151.23, -1003.14, -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
Config.Lang = {
["motel"] = "~g~[E]~s~ Motel",
["chest"] = "Stash",
["exitroom"] = "Exit",
["enterroom"] = "Enter",
["shower"] = "Wash hands",
["sleep"] = "Sleep",
["giveroom"] = "New Room Given!",
["cd"] = "You can use this command every 30 seconds!",
["notify_shower"] = "You are smelling good",
["notify_sleep"] = "You are more comfortable",
["notify_paytime"] = "You have paid your rent ",
["notify_nomoney"] = "Add money to your bank account",
["notify_header"] = "Motel Rent",
["notify_subheader"] = "Info",
}
Last updated