
- ESX
- QBCore
Origen Police (QBCore & ESX)
Origen Network
$20.70
10% off shop orders, applied at checkout10% off every shop order, applied automatically at checkoutNew account: a welcome credit on your first order

This script adds a throwable flashbang (weapon_flashbang) to FiveM. Players caught in the blast are stunned for a set time, and their voice chat can be muted while they are fully flashed. Use it for police roleplay!
The script has a separate config file where you can set:
For QBCore, the original guide lists these changes:
qb-core/shared/weapons.lua: ['weapon_flashbang'] = {['name'] = 'weapon_flashbang', ['label'] = 'flashbang', ['ammotype'] = nil, ['damagereason'] = 'Bombed / Exploded / Detonated / Blew up'},weapon_flashbang to qb-core/shared/items.lua. The original guide shows the weapon_grenade entry as the template: ['weapon_grenade'] = {['name'] = 'weapon_grenade', ['label'] = 'Grenade', ['weight'] = 1000, ['type'] = 'weapon', ['ammotype'] = nil, ['image'] = 'images/weapon_grenade.png', ['unique'] = true, ['useable'] = false, ['description'] = 'A handheld throwable bomb'},qb-weapons/client/main.lua (around lines 180–181) add: elseif QBCore.Shared.Weapons[weapon]["name"] == "weapon_flashbang" then TriggerServerEvent('QBCore:Server:RemoveItem', "weapon_flashbang", 1)qb-inventory/client/main.lua (line 449) add weaponName == "weapon_flashbang" to the list of throwables (stickybomb, pipebomb, smokegrenade, flare, proxmine, ball, molotov, grenade, bzgas).Flashbang script

Origen Network

Codesign


ScriptsM

Wasabi Scripts

rcore

Mads

12.9 MB · 1 file