BUY HERE - $24.99
PREVIEW HERE
Discover B&T Hookah Lounge, the premier FiveM Hookah Lounge script.
Configuration Highlights:
- Interactive System: Each hookah requires maintenance of attributes to remain usable.
- Maintenance Requirements: Attributes include coals, foil quality, hose quality, water level, and tobacco level, each needing regular upkeep.
- Decay Mechanics: Attributes decrease due to decay over time or usage, with configurable rates.
- Employee Responsibilities: Employees can purchase necessary items from their hookah shop. The shop features a stock system that regenerates over time.
- Refilling Process: Employees refill the hookah attributes, with an extra step required for the coals, involving heating them on a stove.
- Customizable Settings: Heating time for coals and other settings can be adjusted in the config.
- Consumer Readiness: Once maintained, the hookah is ready for consumer use, and employees can set its usage price.
Our Hookah Lounge Script enhances your FiveM server with simplicity and efficiency. Crafted to enrich the dynamics of your FiveM server, this script offers a blend of seamless integration, sophisticated customization options, and advanced control features. It stands as the perfect solution for servers seeking to enhance their operational efficiency and management quality.
Config:
Config = {}
if GetResourceState('es_extended') == 'started' then
Framework = "ESX" -- ESX
elseif GetResourceState('qb-core') == 'started' then
Framework = "QBCore" -- QBCore
end
Config.JobName = 'hookahlounge' -- Required Job to adjust hookah levels.
Config.SocietyEarnings = true -- This will add money to the society of the job set above
Config.SocietySplit = 10 -- This is a % split for the amount that the society gets paid
Config.ThirdEyeName = 'ox_target' -- [OX Target - ox_target] [QB Target - qb-target]
Config.NotificationLocation = 'center-right' -- Notification location for ox notify
Config.Hookahs = {
{
coords = { x = -443.93, y = 274.77, z = 83.02 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
},
{
coords = { x = -448.84, y = 279.34, z = 83.02 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
},
}
Config.Tobacco = {
{ item = 'oceanbreeze', label = 'Ocean Breeze' },
{ item = 'lavenderlush', label = 'Lavender Lush' },
{ item = 'berryblaze', label = 'Berry Blaze' },
{ item = 'citrussunshine', label = 'Citrus Sunshine' },
{ item = 'lime', label = 'Lime' },
}
Config.MinHookahLevel = 1 -- The required minimum hookah level usage percentage.
Config.DecreaseTime = 300000 -- How often do you want to decrease tobacco, Coals, and Foils? Current is 5 Minutes
Config.CoalsDecrease = { use = 3, nouse = 1, } -- Decrease Coals. Use decreases when the person uses the hookah and No Use is full time.
Config.FoilDecrease = { use = 3, nouse = 1, } -- Decrease Foil. Use decreases when the person uses the hookah and No Use is full time.
Config.HoseDecrease = { use = 3, } -- Decrease Hose on hookah useage
Config.WaterDecrease = { use = 3, } -- Decrease Water on hookah useage
Config.TobaccoDecrease = { use = 5, nouse = 1 } -- Decrease Water on hookah useage
Config.WaterItem = 'water' -- Water item to increase water level
Config.WaterIncrease = 10 -- How much should the water level increase after they use a water?
Config.HoseItem = 'hose' -- Hose item to increase hose level
Config.HoseIncrease = 10 -- How much should the hose level increase after they use a hose?
Config.FoilItem = 'foilpoked' -- Foil item to increase foil quailty
Config.FoilIncrease = 10 -- How much should the foil increase after they use a Poked Foil?
Config.CoalsItem = 'hotcoals' -- Hot Coal item to increase Coals level
Config.CoalsIncrease = 10 -- How much should the coal level after they use a Hot Coal
-- Shop
Config.ShopLocation = vector3(-445.4472, 280.5676, 83.0221) -- Location of the Shop
Config.Distance = 2.0 -- How close they have to be to see the Text UI
Config.AutoRestock = true -- If you want the items to auto restock over time set to true. If false you will have to implement a way for your users to get the items.
Config.AutoRestockTime = 5000 -- How often do you want the items to restock?
Config.RestockAmount = 2 -- How many do you want to restock during this time?
-- Heating Coals
Config.HeatingTime = 1 -- How many minutes should the coals take to heat up?
Config.Shop = {
{
item = 'oceanbreeze', -- The item name
label = 'Ocean Breeze', -- The display name of the item
price = 200, -- The price of the item
stock = 10 -- The initial stock level of the item
},
{
item = 'lavenderlush', -- The item name
label = 'Lavender Lush', -- The display name of the item
price = 100, -- The price of the item
stock = 10 -- The initial stock level of the item
},
{
item = 'berryblaze', -- The item name
label = 'Berry Blaze', -- The display name of the item
price = 100, -- The price of the item
stock = 10 -- The initial stock level of the item
},
{
item = 'citrussunshine', -- The item name
label = 'Citrus Sunshine', -- The display name of the item
price = 100, -- The price of the item
stock = 10 -- The initial stock level of the item
},
{
item = 'lime', -- The item name
label = 'Lime', -- The display name of the item
price = 100, -- The price of the item
stock = 10 -- The initial stock level of the item
},
{
item = 'foilpoked', -- The item name
label = 'Poked Foil', -- The display name of the item
price = 50, -- The price of the item
stock = 20 -- The initial stock level of the item
},
{
item = 'coals', -- The item name
label = 'Coals', -- The display name of the item
price = 50, -- The price of the item
stock = 20 -- The initial stock level of the item
},
{
item = 'hose', -- The item name
label = 'Hookah Hose', -- The display name of the item
price = 50, -- The price of the item
stock = 20 -- The initial stock level of the item
},
}
Config.Stoves = {
[1] = {
position = vector3(-440.2780, 263.0155, 82.4221),
heading = 173.9580
},
[2] = {
position = vector3(-443.15, -31.06, 45.21),
heading = 357.10
},
}
Config.Strings = {
-- Menu
tobacco_description = 'The selected tobacco for this hookah.',
hookah_level = 'The selected tobacco for this hookah.',
hookah_price = 'The price to use this hookah.',
coal_level = 'The coal level of this hookah.',
foil_level = 'The foil quality of this hookah.',
hose_level = 'The condition of the hose for this hookah.',
water_level = 'The water level of this hookah.',
use_hookah = 'Use Hookah',
startuse_hookah = 'Start using the hookah',
notready_hookah = 'The hookah is not ready to use',
-- Notifications
notification_title = 'Notification',
-- Errors
need_water = 'You need the required item to refill water.',
need_hose = 'You need the required item to repair the hose.',
need_coals = 'You need the required item to refill coals.',
need_foil = 'You need the required item to refill foil level.',
not_employed = 'You must be employed at the hookah lounge to do this.',
no_tobacco = 'You do not have any tobacco.',
no_money = 'You do not have enough money!',
-- Success
foil_success = 'Foil quality refilled successfully',
water_success = 'Water level refilled successfully',
hose_success = 'Hose repaired successfully',
coals_success = 'Coal level refilled successfully',
}
Code is accessible | Partially (Escrowed) |
Subscription-based | No |
Lines (approximately) | ~1600 |
Requirements | QB/ESX, ox_lib, oxmysql, QB/OX Target |
Support | Yes |