Add to cart
Sale!
Weapon ESX

Flashbang script

Original price was: $21.99.Current price is: $6.99.

-68%

Script has seperate config file where you can set up things like:

  • Weapon label
  • Time to explosion
  • Enabling / disabling voice chat while being fully flashed (works with mumble-voip and pma-voice)
  • Effect duration
  • Sound effect volume
  • Range in which grenade works

Optimisation: 0.1 ms idle, 0.05ms max while working

Use this flashbang for your police roleplay!

Add to Cart
Flashbang
Flashbang script
$21.99 Original price was: $21.99.$6.99Current price is: $6.99.

Product facts

Framework
ESX
Resource type
Weapon
Included files
1 downloadable file

Purchase details

Download format
ZIP
https://www.youtube.com/watch?v=hR1Qrz4Iifw&feature=youtu.be

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

Reviews

There are no reviews yet.

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