DARK WOOD HEIST

DARK WOOD HEIST

€20.00

Add to Basket

Dark Wood Heist

Dark Wood Heist is a comprehensive FiveM resource that introduces a dynamic heist event to your server. This script enables players to embark on a high-stakes heist on an island, where they must locate and open 11 boxes scattered across predetermined locations. The resource leverages modern FiveM tools such as ox_target, ox_inventory, and ox_lib to provide a fully interactive experience.

PREVIEW

Key Features:

  • Interactive NPC:
    An NPC is spawned at a designated location, with whom players can interact via ox_target. When a player engages with this NPC, the script first checks for active global or personal cooldowns and then verifies—using ox_inventory—if the player possesses a firearm in their inventory. Depending on the outcome, the player receives a localized notification (with all text managed via the locales.lua file).

  • Heist Event:
    Once the initial conversation is successful, the heist begins. The script randomly spawns 11 boxes (using settings defined in config.lua) across the island. Each box can be opened via an ox_target interaction. Upon activation, a progress bar (with an accompanying pickup animation) is displayed. When the progress completes, the player is rewarded with a random item—typically weapon blueprints—configured with a minimum and maximum quantity (for example, 1–3 units).

  • Dynamic Security:
    If the player is found to have a firearm in their inventory, the resource automatically spawns three aggressive NPCs around each box. These NPCs are programmed to attack the player, adding an extra layer of danger and excitement to the heist.

  • Cooldown Mechanism:
    To ensure the heist event remains challenging and to prevent abuse, the resource implements both global and personal cooldowns. Once a heist is completed, the global cooldown is activated—preventing any new heist from starting server-wide—and an individual (personal) cooldown is set for the player who initiated the event. This mechanism guarantees that the heist cannot be restarted too quickly, preserving the overall game balance.

  • Fully Configurable:
    Every crucial aspect of the event—from the box spawn locations and reward settings to the NPC behavior and cooldown timings—is easily adjustable through the configuration files (config.lua and locales.lua). This flexibility allows server administrators to tailor the experience to their specific requirements.

Technical Information:

  • Code Accessibility: Yes
  • Subscription-based: No
  • Approximate Number of Lines: [Insert approximate line count]
  • Requirements: ox_target, ox_inventory, ox_lib
  • Support: Yes

Assets and Dependencies:

  • Assets Accessible: Yes
  • Subscription-based: No
  • Dependencies:
    • ox_target
    • ox_inventory
    • ox_lib

MLO (Map Load Object): No

  • Number of Entities: In addition to the 11 spawned boxes, the event spawns aggressive NPCs (3 per box) and a primary NPC to initiate the heist.
  • Support: Yes