Jim Shield d7a8a20491 Make GenerateRandomValues() return 0
Its possible if no health, thirst or stress was set, it may sent back an empty table, which would then break the finish consume function in the server
2025-10-10 01:57:01 +01:00
2025-09-24 18:18:14 +01:00
2025-09-01 10:22:10 +01:00
2025-06-22 16:13:18 +01:00
2025-10-06 02:29:07 +01:00
2025-07-25 00:41:11 +01:00
2025-10-06 02:29:07 +01:00

Jim-Consumables

FiveM MultiFrameork Consumables script

What is this?

This script WAS designed as a replacement/override for food and drink consumables in qb-smallresources

It's main purpose was to make it so players did not stand up while sitting with my scripts due to lazy events such as ClearPedTasks in progressbar and dpemotes, this one is designed to cancel the animation you have chosen, not ALL animations.

Users requested I readd the progressbar but it ended up being a config option to enable it

Though if your players are cancelling all animations when consuming, it's recommended to set Config.UseProgBar to false to get this effect.

THIS DOESN'T USE DPEMOTES OR RPEMOTES OR SCULLYS EMOTEMENU


Installation and Previews:

JixelPatterns GitBook Documentation

If you need support I have a discord server available, it helps me keep track of issues and give better support.

JixelPatterns Discord

If you think I did a good job here, consider donating as it keeps by lights on and my cat round:

JixelPatterns Kofi

Description
Consumables script for QBCore
Readme 258 KiB
Languages
Lua 100%