Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Minigames

Shisha Script

Shisha Script

Chema Sanchez
Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
File size
1.2 MB
Creator
Chema Sanchez
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

Shisha Script lets players on an ESX server set up a hookah and smoke it in paid sessions. Using the shisha item places a hookah on the ground; at the hookah a player starts a session, takes drags with smoke that other players see, and ends the session again.

Features

  • Usable item shisha (label "Shisha"), added to the items table by main.sql; using it removes the item and places the hookah prop
  • Press E at the hookah to start a session: the player holds the hose and 20 in cash is taken (set in server.lua)
  • Press H to take a drag with an animation, a sound and a smoke effect that is synced to all players
  • Press F to end the session and remove the hose
  • Commands /shisha (places a hookah) and /deleteshisha (removes the nearby hookah and gives a shisha item back)
  • Streams its two models: prop_bong_01.ydr (hookah) and v_corp_lngestoolfd.ydr (hose)
  • On-screen prompts are in Spanish and written directly in client.lua

Requirements

  • ESX (es_extended), loaded through the esx:getSharedObject event, with the classic items database table

Installation

  • Copy the folder chema_shisha-1.0 into your resources directory
  • Import main.sql into your database
  • Add ensure chema_shisha-1.0 to your server.cfg

Notes

  • The session prompt shows "10€", while the server takes 20; adjust the text or the amount to match.
  • The two commands have no permission check, and the hookah is placed next to every online player, not only the one who used the item; review server.lua before using it on a live server.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

In your downloads
  • Brutal Scripts FiveM Baby Script menu and stroller preview
    • ESX
    • QBCore, vRP
    Not for your framework

    FiveM Baby Script

    Brutal Scripts

    $30.00$21.00
  • FiveM Surfing script preview
    • ESX
    Not for your framework

    FiveM Surfing script

    $4.99$3.49
  • Statistics & Achievements FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    Statistics & Achievements

    kralik

    $19.00$13.30
  • Storm Chasing FiveM resource preview 2
    • ESX
    • QBCore, Qbox
    Not for your framework

    Storm Chasing

    Nights Software

    $35.00$24.50
  • 0R-PAINTBALL V2 FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    0R-Paintball V2 (Script Only)

    0Resmon

    $30.00$21.00
  • Brutal Gym FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    Brutal Gym

    Brutal Scripts

    $14.00$9.80
  • FiveM Daily Lucky Wheel
    • ESX
    • QBCore
    Not for your framework

    Daily Lucky Wheel

    $14.00$9.80
  • FiveM Earthquake Script
    • ESX
    • QBCore, vRP
    Not for your framework

    EarthQuake Script

    $3.00$2.10