One Scripts

πŸ” ONE CONSUMABLES - AUTOMATIC MULTI-FRAMEWORK SYSTEM πŸ₯€πŸ’Š

πŸ” ONE CONSUMABLES - AUTOMATIC MULTI-FRAMEWORK SYSTEM πŸ₯€πŸ’Š

Este artΓ­culo es gratis.

Add to Basket

Take your server's immersion and optimization to the next level! One Consumables is the ultimate, all-in-one standalone solution to handle food, drinks, medicines, and custom substances. No more multiple or heavy scripts for different itemsβ€”manage absolutely EVERYTHING from a single config file with unmatched performance.

✨ UNIQUE FEATURES

  • ⚑ Zero-Configuration Framework Autodetection No need to change code lines or settings. The script automatically detects if your server runs on QBCore or ESX (both on client and server sides) and pushes colorful debug logs straight to your console upon startup.
  • πŸŽ’ Native ox_inventory Integration Built directly to hook into modern inventory architectures using optimal client exports. Extremely clean item execution.
  • 🧼 Anti-Glitch & Prop Clean-Up Safeguard If a player cancels the progress bar or moves unexpectedly, animations stop instantly and all attached props are fully deleted from the map. No floating items left behind!
  • πŸ›‘οΈ Exploit-Proof Server-Side Healing Health modifications are computed strictly on the server side using the network target Ped, making it natively protected against common client injectors and health executors.
  • 🎭 Dual-Prop Support Want to eat a burger from a plate? Or drink soda with a straw? The script allows up to TWO simultaneous props attached to different bones per item.
  • πŸ“Š Hybrid Progress Bar Selection You decide. Switch between ox_lib progress rings/bars or qb-core linear progress bars smoothly via the config header.

βš™οΈ WHAT STATS CAN YOU MODIFICATE?

Each item can instantly alter multiple character statistics at once:

  • πŸ” Hunger: Replenishes nourishment levels.
  • πŸ₯€ Thirst: Replenishes hydration levels.
  • 🧠 Stress: Increases or decreases stress dynamically (e.g., negative values reduce it).
  • πŸ’” Health: Safely heals the player's HP by exact amounts or percentages.

πŸ“ READY-TO-USE CONFIGURATION EXAMPLE

Setting up items is incredibly straightforward. Here is what your items configuration looks like inside the script:

Lua

Config.ConsumablesData = {
    ['burger'] = { 
        type = 'food', 
        stats = { hunger = 60, stress = -15 }, 
        usetime = 6500, 
        anim = { dict = 'mp_player_inteat@burger', clip = 'mp_player_int_eat_burger_fp' }, 
        prop = { model = 'prop_cs_burger_01', bone = 18905, pos = vec3(0.13, 0.05, 0.02), rot = vec3(-50.0, 16.0, 60.0) },
        label = 'Premium Burger'
    }
}

πŸ“¦ WHAT'S INCLUDED IN THE PACKAGE?

  • πŸ“‚ cl_main.lua - Highly optimized client loops.
  • πŸ“‚ sv_main.lua - Secure server event handler with framework hooks.
  • πŸ“‚ config.lua - 100% accessible and editable file to add limitless items.
  • πŸ“‚ README.txt - Full integration guide in both English and Spanish.
  • πŸ”’ Escrow Protected: Yes (Config file is completely unlocked for endless customization).
  • 🏎️ Performance: 0.00ms on idle.

πŸ›’ UPGRADE YOUR SERVER EXPERIENCES NOW! πŸ›οΈ

Back to category