Price
UnknownFiveM Dumpster Diving
A script by SHOCKTEBEX
Full Description
BUY HERE → M4S0N’S Scripts | Packages (tebex.io)
preview → FiveM QB/QBXCORE Dumpster Diving Script (youtube.com)
Features:
- Interactive Dumpster Search:
- Players can search dumpsters by approaching them and pressing the
Ekey. - A prompt is displayed to notify players when they are close enough to interact with a dumpster.
- Progress Bar and Animation:
- While searching, players will see a progress bar indicating the search duration.
- Players’ characters perform a dumpster diving animation, enhancing the realism of the interaction.
- Configurable Loot Table:
- Server administrators can configure the loot table in the
config.luafile. - Each item in the loot table has a configurable chance of being found and a specific quantity.
- Cooldown System:
- After a dumpster has been searched, it will enter a cooldown period during which it cannot be searched again.
- The cooldown period is configurable in the
config.luafile. - Players will receive a notification if they attempt to search a dumpster that is currently on cooldown.
- Notifications:
- Utilizes
qb-notifyto inform players of the results of their search. - Players receive notifications about what items they found or if the dumpster was empty.
- Seamless Integration with QBCore:
- Fully compatible with the QBCore framework, ensuring smooth performance and easy integration.
- Utilizes QBCore functions for item handling and player notifications.
Configuration:
- Config.Bins: Define the coordinates of dumpsters (bins) that players can search.
- Config.LootTable: Configure the items players can find, including item names, quantities, and chances of being found.
- Config.SearchTime: Set the duration (in milliseconds) it takes to search a dumpster.
- Config.CooldownTime: Set the cooldown period (in milliseconds) after a dumpster has been searched.
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | 150 |
| Requirements | qb/qbxcore |
| Support | Yes |
Community Reviews
See what others are saying about this script.
Leave a Review
Share your experience and help others.