HZ-Cook

HZ-Cook is a cooking framework for FiveM, shipped with HZ-Cook BBQ, its barbecue content pack. The framework provides the mechanics, the sync and the bridges; the pack provides the stations, recipes, ingredients and props that run on it.

Nothing is a menu. The food sits on the grill, changes colour as it cooks, and burns if it is left there. What the player sees on the prop is the state of the food.

The four stations

StationWhat it is
Portable barbecueGas, hinged lid, side shelf with four ingredient bins, sauce bottles, spatula on its hook
Gas barbecueThe tall one. Same shelf and lid, different frame
Charcoal kettleRuns on charcoal, not gas: fill it from a bag, light it, watch the bed of coals take. Animated lid, no side shelf — it comes with its own annex counter
CampfireA grill over a wood fire. No lid, no knob, so no cooking penalty either
Each is placed from the inventory with a live ghost preview — rotate it, raise it, drop it flat — outlined green where it can go and red where it cannot: on a road, in water, on a slope, indoors, or too close to another station. Picked back up the same way.

Cooking you can read on the prop

Every ingredient is painted across 100 baked frames, raw to perfect to burnt. There is no progress bar standing in for it.

  • Cooking quality decides how much hunger the food actually restores. On a skewer: perfect 100%, overdone 65%, raw 35%, burnt 10%. A burger runs on a continuous scale that floors at 25%.
  • Closing the lid cooks 2.5 times faster. Leave it open and you have time to talk.
  • The player is notified when a piece is ready, and food keeps cooking to burnt if nobody takes it off.

Skewers

Ten ingredients — beef, chicken, fish, mushroom, onion, green and red pepper, tomato, zucchini — threaded onto a stick one piece at a time. Each piece cooks on its own curve and shows its own state, so a skewer can come off with a perfect piece of beef next to a charred pepper. Carried in hand with its own animation.

Burgers

Assembled layer by layer, on the station, in the order the player chooses — up to 12 layers: bottom bun, patty, cheese, lettuce, tomato, onion, bacon, ketchup, mustard, top bun. The layers stack visually as they go on. What the burger is worth comes from what went into it and how well each part was cooked.

Charcoal that runs out

The kettle burns real charcoal. The bag carries what is left of it: filling a half-empty barbecue with a full bag uses half the bag, and the bag stays in the inventory at 50%. A full load burns for 30 minutes, the bed of coals shrinks, and the fire goes out on its own.

Pouring is animated — the bed grows as the charcoal falls, with dust and a pour effect — and ignition crosses 60 baked frames from cold coals to glowing.

The station is furnished

  • Four ingredient bins on the shelf, backed by a real stash of 25 slots. Take the last tomato and the bin's model changes to the empty one.
  • Ketchup and mustard bottles, targeted directly on the prop.
  • A spatula on its hook, picked up and carried.
  • An annex counter for the kettle, which has no shelf of its own.

Everyone sees the same thing

Stations, fire, food, cooking progress, the lid, the level of the coal bed — all of it is server-authoritative and synchronised. A player walking past sees what the cook is doing.


Compatibility

LayerSupported
FrameworksQBox, QBCore, ESX, Standalone
Inventoriesox_inventory, qb-inventory, qs-inventory
Targetshz_lib, ox_target, qb-target, hz_textui
Requiredox_lib
Everything is auto-detected — the first system that answers is picked. Nothing is hard-coded: one config file forces any of them.

What is in the package

  • 26 items with 25 icons, ready for ox_inventory, qb-inventory and qs-inventory, plus the SQL for frameworks that store items in database.
  • 146 model files, 41 MB — 36 distinct props, duplicated into pools so several players can cook at the same time without sharing a texture state.
  • 12 hand-made animations across 4 dictionaries: the three lid states on each of the three gas stations, the coal fill, and carrying a skewer or a spatula.
  • 10 ytyp, custom collisions, LODs.
  • English, French and Indonesian, with the ingredient labels left open to edit.

Quick Navigation