Zyke Resources' Products
DiscordStore
  • Introduction
  • Common Issues
    • zyke_lib error
    • Lacking Entitlement
    • UI Not Working
    • Missing Files Via FTP
    • Resource Starting Sequence
    • Item Not Usable
    • Any other issues?
  • FAQ
  • Paid Resources
    • Consumables
      • Resource Description
      • Config
      • Exports & Events
      • Dependencies
      • Changelog
      • Guides
      • Setup
    • Smoking
      • Resource Description
      • Config
      • Exports & Events
      • Examples
      • Dependencies
      • Changelog
      • Test Server
      • Setup
    • Garages
      • Resource Description
      • Config
      • Exports & Events
      • Dependencies
      • Changelog
      • Setup
      • Common Issues
    • Drugdealer
      • Resource Description
      • Config
      • Exports & Events
      • Dependencies
      • Changelog
    • Crafting
      • Resource Description
      • Config
      • Exports & Events
      • Dependencies
      • Changelog
    • Plants
      • Resource Description
      • Config
      • Exports & Events
      • Dependencies
      • Changelog
    • Mugging
      • Resource Description
      • Config
      • Exports & Events
      • Changelog
    • Gangsystem
      • Resource Description
      • Config
      • Exports & Events
      • Examples
      • Dependencies
      • Changelog
  • Free Resources
    • Zyke Lib
      • Resource Description
      • Dependencies
      • Config
      • Setup
    • Status
      • Resource Description
      • Exports & Events
      • Dependencies
      • Changelog
      • Setup
    • Propaligner
      • Resource Description
      • Exports & Events
      • Dependencies
      • Changelog
    • Vending Machines
      • Resource Description
      • Dependencies
      • Changelog
    • Sounds
      • Resource Description
      • Exports & Events
    • Key Minigame
      • Resource Description
      • Exports & Events
      • Changelog
    • Stabwheels
      • Resource Description
      • Dependencies
      • Changelog
    • Burncars
      • Resource Description
      • Dependencies
      • Changelog
    • Catalytic
      • Resource Description
      • Exports & Events
      • Config
      • Dependencies
      • Changelog
Powered by GitBook
On this page

Was this helpful?

  1. Paid Resources
  2. Smoking

Changelog

Released version and their changes.

Changelog - Version 1.2.0

Changes

  • Colored smoke.

  • Updates sounds configuration to align with the latest zyke_sounds.

  • Removed manual database setup, it now runs automatically.

  • Stop playing sounds when you unequip the item.

  • Instantly hide the inhaling bar when unequipping.

  • force_stop_use command to forcefully stop use in case of issues to not prevent flow of gameplay. Please still report bugs if you encounter them.

  • Instantly syncing UI for recipient when transferring an item.

  • Fixed effect multiplier calculation being slightly wonky.

  • Misc cleanup.

Files Affected

  • client/locked/eventhandler.lua

  • client/locked/using_loops/functions.lua

  • extras/sounds/cough_f1.wav

  • extras/sounds/cough_f2.wav

  • extras/sounds/cough_f3.wav

  • extras/sounds/cough_f4.wav

  • extras/sounds/cough_f5.wav

  • extras/sounds/cough_f6.wav

  • extras/sounds/cough_f7.wav

  • extras/sounds/cough_m2.ogg

  • extras/sounds/cough_m3.ogg

  • extras/sounds/cough_m4.ogg

  • extras/sounds/cough_m5.ogg

  • extras/zyke_smoking.sql

  • server/locked/eventhandler.lua

  • server/locked/functions.lua

  • server/unlocked/eventhandler.lua

  • server/unlocked/functions.lua

  • server/unlocked/main.lua

  • shared/unlocked/config.lua

  • shared/unlocked/functions.lua

  • shared/unlocked/main.lua

  • shared/unlocked/types.lua

  • fxmanifest.lua

Changelog - Version 1.1.1

Changes

  • Automatically running database on script start.

  • Unlocked LightCigarette function.

  • Re-structured to avoid excessive client syncing events.

Files Affected

  • client/locked/using_loops/functions.lua

  • client/unlocked/functions.lua

  • server/locked/eventhandler.lua

  • server/locked/functions.lua

  • server/locked/main.lua

  • server/unlocked/database.lua

  • server/unlocked/main.lua

  • fxmanifest.lua

Changelog - Version 1.1.0

Changes

  • Added client & server isOccupied export.

  • Better honk prevention handling.

  • Configurable "automatic" inhaling. Press to start, press to stop. Will avoid coughing if you don't stop inhaling.

  • Adjusted a few intervals for a smoother experience.

  • Unique coughing sounds for female characters, along with randomly selecting the sound if more are available.

  • Minor cleanup.

  • Individual item effect multiplier, you can now change the potency of each smokeable.

  • Better fail reason handling, to display why you can't do something.

  • Configurable notification for the item you unpacked.

  • Configurable option to remove a cigarette pack once it is empty.

  • Moved lighter particle settings to the config.

Files Affected

  • README.md

  • client/locked/eventhandler.lua

  • client/locked/using_loops/functions.lua

  • client/unlocked/keys.lua

  • extras/sounds/cough_f1.wav

  • extras/sounds/cough_f2.wav

  • extras/sounds/cough_f3.wav

  • extras/sounds/cough_f4.wav

  • extras/sounds/cough_f5.wav

  • extras/sounds/cough_f6.wav

  • extras/sounds/cough_f7.wav

  • extras/sounds/cough_m1.wav

  • extras/sounds/grab_bong.wav

  • extras/sounds/inhale.wav

  • extras/sounds/inhale_bong.wav

  • extras/sounds/inhale_vape.wav

  • extras/sounds/lighter.wav

  • extras/sounds/vape_beep.mp3

  • fxmanifest.lua

  • locales/en.lua

    • Added invalidAnim

    • Added isDead

    • Added inWater

    • Added unpackedCigarette

    • Added noActiveItem

  • server/locked/eventhandler.lua

  • server/locked/functions.lua

  • server/unlocked/cigarette_pack.lua

  • server/unlocked/eventhandler.lua

  • shared/unlocked/config.lua

    • Config.Settings

      • Added automaticSmoking

      • Added removePackWhenEmpty

      • Added `notificationOnCigaretteUnpack

    • Config.Settings.lighter

      • Added particle

      • Added attempts

  • shared/unlocked/functions.lua

  • shared/unlocked/types.lua

Changelog - Version 1.0.11

Changes

  • Fixed item not being recognized for unique lighter sounds.

  • Added zyke_lib download to readme.

  • Removed testing command.

Files Affected

  • client/locked/using_loops/functions.lua

  • server/unlocked/eventhandler.lua

  • server/unlocked/lighter_fluid.lua

  • README.md

  • fxmanifest.lua

Changelog - Version 1.0.10

Changes

  • Cigarette packs are now using the ensureMetadata function within zyke_lib. Functionality remains largely the same.

Files Affected

  • server/unlocked/cigarette_pack.lua

  • fxmanifest.lua

Changelog - Version 1.0.9

Changes

  • Verify an animation is cached before you try to cancel it.

Files Affected

  • client/locked/functions.lua

  • fxmanifest.lua

Changelog - Version 1.0.8

Changes

  • Fixed duplicate lighter fx and lighter fluid usage.

  • Adding a percentage symbol for the lighter fluid description.

  • Tweaked particle creation to limit amount spawned. Previously multiple was spawned for a more realistic effect, which caused issues with pool limit.

Files Affected

  • client/locked/using_loops/funcitons.lua

  • client/locked/eventhandler.lua

  • server/locked/eventhandler.lua

  • locales/en.lua

    • Modified lighter:description.

  • fxmanifest.lua

Changelog - Version 1.0.7

Changes

  • Replaced animpost effects with timecycle effects.

  • Added IsHigh, HasWalkEffect & HasScreenEffect client exports.

Files Affected

  • client/locked/functions.lua

  • client/unlocked/eventhandler.lua

  • client/unlocked/functions.lua

  • client/unlocked/main.lua

  • shared/unlocked/config.lua

    • Replaced animpost effect names with timecycle effect names.

  • fxmanifest.lua

Changelog - Version 1.0.6

Changes

  • Added qs-inventory support to zyke_lib, allowing users to now use this resource along with it.

  • Re-made screen & walk effect to work together, you are now able to have a different walk effect for all different smokeables.

  • Correctly stopping animation, actions such as sitting are no longer cancelled after an animation has been performed.

  • Lighter prop spawning when lighting your smokeables.

  • New & more realistic lighter spark fx.

  • Bong now plays lighter fx.

  • Configurable lighter fluid usage, draining your lighters over time.

  • Support for multiple lighter sounds, if you use completely different lighters.

  • Prevent smoking when dead.

  • Prevent smoking when under water.

  • Prevent honking when smoking.

  • Added TransferItem & SwitchItemPlacement exports.

  • Unlocked keymapping file handler.

  • Fixed an issue where vapes & bongs would lose their metadata if you logged out with them in your hand.

  • Organized & cleaned up the code.

Files Affected

  • Replace all files.

Changelog - Version 1.0.5

Changes

  • Supports different lighters, not just one.

  • Affects walking style when high.

Files Affected

  • client/unlocked/functions.lua

  • client/unlocked/main.lua

  • client/locked/functions.lua

  • server/locked/eventhandler.lua

  • shared/unlocked/config.lua

    • Modified lighterItem

    • Added walkEffect

  • fxmanifest.lua

Changelog - Version 1.0.4

Changes

  • Correctly chooses item used based on slot.

  • Tracks metadata for all items, you can now change effects in clientFunc & serverFunc based on the item metadata. Also includes the item in vape & bong.

  • Fixed prop issues when chaing routing buckets.

  • Support for looped & non-looped screen effects.

  • Various type corrections.

  • Providing lighter image.

  • Miscellaneous cleanup in the code.

Files Affected

  • client/locked/bong/refill_item.lua

  • client/locked/eventhandler.lua

  • client/locked/functions.lua

  • client/unlocked/eventhandler.lua

  • client/unlocked/functions.lua

  • server/locked/eventhandler.lua

  • server/locked/functions.lua

  • server/locked/main.lua

  • server/unlocked/eventhandler.lua

  • server/unlocked/main.lua

  • shared/unlocked/types.lua

  • shared/unlocked/config.lua

    • Added new metadata parameter at the end of clientFunc & serverFunc

  • extras/items/images/lighter.png

  • fxmanifest.lua

Changelog - Version 1.0.3

Changes

  • Correctly linking flavor names to effects.

  • Added missing bong_water item.

  • Added debug messages.

Files Affected

  • client/unlocked/eventhandler.lua

  • extras/items

    • ox_inventory.lua

    • qb-core.lua

  • server/unlocked/eventhandler.lua

  • shared/unlocked/config.lua

  • fxmanifest.lua

Changelog - Version 1.0.2

Changes

  • Item data indicators styling available to modify in the config.

  • Config option to disable attacking when inhaling.

  • Config option to disable shooting when a smokeable is in your hand.

Files Affected

  • client/locked/using_loops/functions.lua

  • client/locked/eventhandler.lua

  • nui/index.js

  • locales/en.lua

    • Added armedWhenSmoking

  • shared/unlocked/config.lua

    • Added disableSmokingWhenArmed

    • Added disableAttackingWhenSmoking

    • Added itemDataIndicators

  • fxmanifest.lua

Changelog - Version 1.0.1

Changes

  • Fixed an issue where effects would throw an error for cigarettes, joints and cigars.

Files Affected

  • server/unlocked/eventhandler.lua

  • shared/unlocked/types.lua

  • fxmanifest.lua

Changelog - Version 1.0.0

Official release for ESX and QBCore.

PreviousDependenciesNextTest Server

Last updated 7 days ago

Was this helpful?