π¬ FX-HOOKAH β
Advanced and fully optimized hookah system for RedM with realistic smoking mechanics, synchronized smoke effects, coal & tobacco systems, rope interaction, and immersive roleplay features.
π¦ INSTALLATION β
ensure xsound
ensure gs_gizmo
ensure fx-hookahprops
ensure fx-hookahβ’ Add resources into your server.cfg β’ xsound is required only if sound enabled β’ gs_gizmo is required for placement system
β οΈ ARTIFACT REQUIREMENT β
Recommended Artifact: 25770β’ Required for stability β’ New artifacts may cause crashes
π¦ INVENTORY SETUP (RSG) β
hookah_silver = { name = 'hookah_silver' }
tobacco_love66 = { name = 'tobacco_love66' }
hookah_coal = { name = 'hookah_coal' }β’ Add items into rsg-core/shared/items.lua β’ Includes hookahs, tobacco and coal
π¦ INVENTORY SETUP (VORP) β
INSERT INTO items (...)
VALUES ('hookah_silver', 'Silver Hookah', ...)β’ Add items into database β’ Required for VORP framework
πΌοΈ ITEM IMAGES β
ITEMPNG/β’ Copy images into your inventory image folder β’ Required for UI display
βοΈ BASIC SETTINGS β
Config.Language = "en"
Config.Debug = falseβ’ Language system β’ Debug mode enables server commands
π LOCALE SYSTEM β
Config.Locale = {
["en"] = {}
}β’ Multi-language support β’ Supports dynamic text (${value})
π SOUND SYSTEM β
Config.HookahSound = true
Config.HookahSoundDistance = 20.0
Config.HookahSoundVolume = 0.05β’ Enables hookah bubbling sound β’ Requires xsound
π― INTERACTION SYSTEM β
Config.UseTarget = falseβ’ false β prompt system β’ true β target system
Config.Prompts = {
["carry"] = {},
["ground"] = {}
}β’ Full interaction system β’ Separate states for carry and ground
π₯ COAL SYSTEM β
Config.CoalDecay = {
enabled = true,
decayInterval = 120,
decayAmount = 1
}β’ Coal decreases over time β’ Must be refilled
π¨ SMOKE SYSTEM β
Config.Smoke = {
key = 0x5415BE48,
minHoldTime = 300,
maxHoldTime = 3000,
minScale = 0.5,
maxScale = 5.0
}β’ Hold-to-smoke system β’ Longer hold = stronger smoke
tobaccoBaseRate = 0.1β’ Controls tobacco consumption speed
π TOBACCO SYSTEM β
Config.Tobacco = {
["love66"] = {
duration = 600,
density = 1.0
}
}β’ Defines tobacco types β’ duration β lifetime β’ density β smoke strength
π¬ HOOKAH TPYES β
Config.Hookahs = {
["hookah_gold"] = {
smokeMultiplier = 1.3,
durationMultiplier = 1.2
}
}β’ Defines hookah variants β’ Each has unique stats
π HOSE SYSTEM β
Config.Hose = {
prop = "fx_shishahand_bk",
ropeLength = 3.5
}β’ Creates rope + hose system β’ Fully synced between players
π§ REPAIR SYSTEM β
Config.RepairHookah = {
allowRepair = true,
repairNeedsItems = {
{item = "hookah_coal", amount = 1}
}
}β’ Allows coal refill β’ Can require items
π DELETE SYSTEM β
Config.DeleteBoxSettings = {
allowDelete = true,
allowJobs = {
["sheriff"] = true
}
}β’ Controls who can delete hookah β’ Supports job & group permissions
π¦ DATA SYSTEM β
hookah.jsonβ’ Stores hookah states β’ Includes: β’ coal β’ tobacco β’ position β’ usage state
π PROPS β
hookah: fx_shisha_bk
hand: fx_shishahand_bkβ’ Hookah & hose models
π CORE FEATURES β
β’ Carry / Place system β’ Hold-to-smoke mechanic β’ Coal decay & refill β’ Tobacco system β’ Rope & hose interaction β’ Sound system β’ Multi hookah types β’ Fully synced system
π NOTIFICATION SYSTEM β
Notify({
text = "Message"
})β’ Supports VORP / RSG / REDEMRP β’ Unified notification system
β οΈ IPMORTANT NOTES β
β’ Use recommended artifact version β’ Items must be installed β’ xsound required if enabled β’ gs_gizmo required β’ Tobacco required to smoke
π¨ COMMON ISSUES β
β’ Cannot smoke β no tobacco β’ No sound β xsound missing β’ Cannot place β gizmo missing β’ Hookah not syncing β distance issue β’ Coal empty β refill required
π SUMMARY β
FX-HOOKAH provides:
β’ Advanced hookah system β’ Realistic smoking mechanics β’ Coal & tobacco system β’ Rope & hose interaction β’ Fully synced effects β’ Multi-framework compatibility
Β© Fixitfy Development
