Page cover

๐ŸงจFlashbang

A fully featured, standalone flashbang system for FiveM with realistic effects, AI interaction, and 3D audio support.

๐Ÿš€ Features

  • ๐Ÿ’ฅ Custom addon flashbang weapon with 0-damage frag explosion

  • ๐Ÿ’ฅ Single flashbang or multi-banger (9-banger) support

  • ๐Ÿ‘๏ธ Configurable masks dampen the effects (like gas masks or sunglasses)

  • ๐ŸŽง Full 3D positional audio using native GTA explosions

  • ๐Ÿ‘๏ธ LOS and directional detection โ€” players only get blinded if they see the detonation

  • ๐Ÿง  Realistic flash effects: whiteout, blurred vision, drunk movement, and ear ringing

  • ๐Ÿงโ€โ™‚๏ธ NPCs react with panic, ragdoll, and flee behavior

  • ๐ŸŽฎ Easy-to-use exports for full integration with other scripts

  • โš™๏ธ Fully configurable via config.lua

  • ๐Ÿ“ฆ Flashbang 3D model and custom add-on weapon included


๐Ÿงฑ Installation

Follow instructions in Getting Started


๐ŸŽฏ How It Works

  • Players throw the flashbang (addon weapon).

  • After a realistic cook time (configurable), the grenade explodes with a visual and audio effect.

  • Nearby players are:

    • Fully flashed if they were looking at it and had line of sight.

    • Partially disoriented if they were nearby but not looking directly.

    • Unaffected if behind solid cover.

  • NPCs are stunned or flee if within range and have line of sight.


๐Ÿ“ค Exports

Client Exports

Export
Description

Applies flash effect on the local player

Returns true if the player is currently flashed

Triggers a flashbang effect manually

Returns the current flashbang config table


โš™๏ธ Configuration


๐Ÿ”Š Custom Audio

To use custom audio for the flashbang, find your chosen .mp3 file and replace flashbang.mp3 within the html/ folder

Last updated