Flashbang script

$6.99

Flashbang Script adds a configurable flashbang weapon to FiveM servers, with options for explosion timer, effect duration, sound volume, range, and voice chat muting while flashed.

$ USD
  • $ USD
  • € EUR
  • £ GBP
Add to Cart
Flashbang script FiveM preview
Flashbang script
$6.99

Lifetime update access. Files FiveMX publishes to this listing remain available to the original eligible purchase without a subscription. Read the exact scope


for all the people with the QBCORE- this is how you make it work.

add this to qbcore/shared/weapons.lua

[weapon_flashbang] = {[‘name’] = ‘weapon_flashbang’, [‘label’] = ‘flashbang’, [‘ammotype’] = nil, [‘damagereason’] = ‘Bombed / Exploded / Detonated / Blew up’},

add this to qbcore/shared/items.lua

[‘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’},

add this to qb-weapons/client/main.lua inside of lines 180-181
elseif QBCore.Shared.Weapons[weapon][“name”] == “weapon_flashbang” then
TriggerServerEvent(‘QBCore:Server:RemoveItem’, “weapon_flashbang”, 1)
replace line 449 inside of qb-inventory/client/main.lua with this
elseif weaponName == “weapon_stickybomb” or weaponName == “weapon_pipebomb” or weaponName == “weapon_smokegrenade” or weaponName == “weapon_flare” or weaponName == “weapon_proxmine” or weaponName == “weapon_ball” or weaponName == “weapon_molotov” or weaponName == “weapon_grenade” or weaponName == “weapon_flashbang” or weaponName == “weapon_bzgas” then

Additional information

Framework

ESX

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.