Skip to content

🚬 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 ​

bash
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 ​

text
Recommended Artifact: 25770

β€’ Required for stability β€’ New artifacts may cause crashes


πŸ“¦ INVENTORY SETUP (RSG) ​

lua
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) ​

sql
INSERT INTO items (...)
VALUES ('hookah_silver', 'Silver Hookah', ...)

β€’ Add items into database β€’ Required for VORP framework


πŸ–ΌοΈ ITEM IMAGES ​

text
ITEMPNG/

β€’ Copy images into your inventory image folder β€’ Required for UI display


βš™οΈ BASIC SETTINGS ​

lua
Config.Language = "en"
Config.Debug = false

β€’ Language system β€’ Debug mode enables server commands


🌐 LOCALE SYSTEM ​

lua
Config.Locale = {
  ["en"] = {}
}

β€’ Multi-language support β€’ Supports dynamic text (${value})


πŸ”Š SOUND SYSTEM ​

lua
Config.HookahSound = true
Config.HookahSoundDistance = 20.0
Config.HookahSoundVolume = 0.05

β€’ Enables hookah bubbling sound β€’ Requires xsound


🎯 INTERACTION SYSTEM ​

lua
Config.UseTarget = false

β€’ false β†’ prompt system β€’ true β†’ target system


lua
Config.Prompts = {
  ["carry"] = {},
  ["ground"] = {}
}

β€’ Full interaction system β€’ Separate states for carry and ground


πŸ”₯ COAL SYSTEM ​

lua
Config.CoalDecay = {
  enabled = true,
  decayInterval = 120,
  decayAmount = 1
}

β€’ Coal decreases over time β€’ Must be refilled


πŸ’¨ SMOKE SYSTEM ​

lua
Config.Smoke = {
  key = 0x5415BE48,
  minHoldTime = 300,
  maxHoldTime = 3000,
  minScale = 0.5,
  maxScale = 5.0
}

β€’ Hold-to-smoke system β€’ Longer hold = stronger smoke


lua
tobaccoBaseRate = 0.1

β€’ Controls tobacco consumption speed


πŸƒ TOBACCO SYSTEM ​

lua
Config.Tobacco = {
  ["love66"] = {
    duration = 600,
    density = 1.0
  }
}

β€’ Defines tobacco types β€’ duration β†’ lifetime β€’ density β†’ smoke strength


🚬 HOOKAH TPYES ​

lua
Config.Hookahs = {
  ["hookah_gold"] = {
    smokeMultiplier = 1.3,
    durationMultiplier = 1.2
  }
}

β€’ Defines hookah variants β€’ Each has unique stats


πŸ”— HOSE SYSTEM ​

lua
Config.Hose = {
  prop = "fx_shishahand_bk",
  ropeLength = 3.5
}

β€’ Creates rope + hose system β€’ Fully synced between players


πŸ”§ REPAIR SYSTEM ​

lua
Config.RepairHookah = {
  allowRepair = true,
  repairNeedsItems = {
    {item = "hookah_coal", amount = 1}
  }
}

β€’ Allows coal refill β€’ Can require items


πŸ”’ DELETE SYSTEM ​

lua
Config.DeleteBoxSettings = {
  allowDelete = true,
  allowJobs = {
    ["sheriff"] = true
  }
}

β€’ Controls who can delete hookah β€’ Supports job & group permissions


πŸ“¦ DATA SYSTEM ​

json
hookah.json

β€’ Stores hookah states β€’ Includes: β€’ coal β€’ tobacco β€’ position β€’ usage state


🎭 PROPS ​

text
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 ​

lua
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

⚑ Premium RedM scripts crafted with performance & quality in mind.