[FREE] muhaddil-machines ESX | QBCore | OX

muhaddil_machines (FiveM)

A FiveM script that adds several machines to improve user experience.

Features

  • Vending machines for drinks and snacks
  • Water coolers with a timeout feature
  • Food stands with various items
  • News sellers with newspapers
  • Custom animations for interactions
  • Configurable framework support (ESX | QBCore | Ox_core)
  • Debug mode for development
  • Auto version checker

Installation

  1. Clone or download the repository.
  1. Add the resource to your resources folder.
  2. Add start muhaddil_machines to your server.cfg.

Configuration

You can configure the script by editing the config.lua file. Here are some of the options available:

  • DebugMode: Enable or disable debug mode.
  • Framework: Choose between ‘esx’ or ‘qb’.
  • UseOXNotifications: Use OX notifications or frameworks.
  • ThirstRemoval: Amount of thirst removed by water coolers.
  • WaterCoolerTimeout: Timeout duration for water coolers.
  • VisibleProp: Show or hide props during animations.
  • ShowWaitNotification: Show notification when water cooler is on timeout.
  • MaxDrinksBeforeKill: Maximum drinks before player death.
  • CountDrinksPlace: Count drinks before or after drinking.

Usage

Vending Machines

Interact with vending machines to buy drinks and snacks. The available items and their prices are configured in the config.lua file.

Water Coolers

Interact with water coolers to drink water. The script includes a timeout feature to prevent excessive use.

Food Stands

Interact with food stands to buy various food items. The available items and their prices are configured in the config.lua file.

News Sellers

Interact with news sellers to buy newspapers. The available items and their prices are configured in the config.lua file.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Support

To get support you can open an issue on the repository or simple head to the discord.

Code is accessible Yes
Subscription-based No
Lines (approximately) 1018
Requirements ESX \ QB \ Ox_core & Ox_lib
Support Yes
6 Likes

Update 1.0.1

  • Added support for ox_core
  • Formatted code for better readability

Full Changelog: Comparing v1.0.0...v1.0.1 · Muhaddil/muhaddil-machines · GitHub