FiveM Dumpster Diving

A script by SHOCKTEBEX

No reviews yet.
FiveM Dumpster Diving main image

Price

Unknown

Full Description

BUY HERE → M4S0N’S Scripts | Packages (tebex.io)
preview → FiveM QB/QBXCORE Dumpster Diving Script (youtube.com)

Features:

  1. Interactive Dumpster Search:
  • Players can search dumpsters by approaching them and pressing the E key.
  • A prompt is displayed to notify players when they are close enough to interact with a dumpster.
  1. 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.
  1. Configurable Loot Table:
  • Server administrators can configure the loot table in the config.lua file.
  • Each item in the loot table has a configurable chance of being found and a specific quantity.
  1. 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.lua file.
  • Players will receive a notification if they attempt to search a dumpster that is currently on cooldown.
  1. Notifications:
  • Utilizes qb-notify to inform players of the results of their search.
  • Players receive notifications about what items they found or if the dumpster was empty.
  1. 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