📊Changelog

Released version and their changes.

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.

Last updated