[RELEASE] Flashbang

ooooh okay, apologies for the confusion.

What files was it missing exactly? The meta files were copy and pasted into the meta files on the source code on github from what he sent me?

Also I dont use ESX but if you are getting an error then I would think you may be doing something wrong because a buddy of mine uses ESX and he has it in his inventory and showed it off on stream last night.

Implementation into ESX definately can be done. I have a friend who did it last night where it was in his inventory and everything on stream. I dont use ESX so I cant really help with that.

another suggestion of mine would be to add a ringing noise that will last throughout the effect, would be sick

I wont be updating this anymore. The code is open to anyone that wants to edit it for their own servers.

Help me
“Couldn’t load resource Flashbang. :(”

You dont have it installed correctly.

I just move them as it says

Take a screenshot of the inside of the resource.

Screenshot_6

You didnt read. Go back up and read again.

I’m really bad it’s because of the evening ^ ^, it’s just that I do not like .rar files, I’m stupid

Whats wrong with rar files? All you do is unpack it and you drag and drop.

It’s just a matter of taste, nothing wicked

@xander1998
Thank you for your work, bro.
I’m telling you ways to keep the gun for everyone else who uses esx and make it appear in the inventory. This is necessary for the script es_extended:
add it to appear in inventory
es_extended/config.weapons.lua:
{
name = ‘WEAPON_FLASHBANG’,
label = _U(‘weapon_flashbang’),
components = {}
},

Add it to show its name in inventory:
es_extended/locales/en.lua or whatever language you are using:
[‘weapon_flashbang’] = ‘Flaß Bombası’,

Sorry for the bad English language. I hope I can help everyone.

5 Likes

I give myself wammo|WEAPON_FLASHBANG og wbody |WEAPON_FLASHBANG - they appear in my inventory, and I can equip them, but they don’t appear in my weaponswheel
 what am I doing wrong?

The icon is invisible. Its where the grenades are at the top left?

I made it work by adding the flashbang to my weapons shop. Then it worked :slight_smile: thanks for replying xander1998 :slight_smile:

When I disconnected and connected again to the server, fiveM immediately crash (Only disconnect. Exiting still normal)
Capture

:man_shrugging: Only time I crashed is when I restarted the resource when its streaminf metas and models while I was in the game.