-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README and enhance configuration for vending machine script
Fixed some fuctions for QB and several aditions.
- Loading branch information
Showing
4 changed files
with
196 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,56 @@ | ||
# muhaddil_machines | ||
A FiveM script that adds several machines to improve user experience. | ||
# 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 and QBCore) | ||
- Debug mode for development | ||
- Auto version checker | ||
|
||
## Installation | ||
|
||
1. Clone or download the repository. | ||
2. Add the resource to your `resources` folder. | ||
3. Add `start muhaddil_machines` to your `server.cfg`. | ||
|
||
## Configuration | ||
|
||
You can configure the script by editing the [config.lua](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](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](config.lua) file. | ||
|
||
### News Sellers | ||
|
||
Interact with news sellers to buy newspapers. The available items and their prices are configured in the [config.lua](config.lua) file. | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters