Weapon Components

Hello, i have queston how i can add in esx_mafia weapon components, like someone can buy supressor and then sell it to other players, I dont know how to add that option to there to buy grips, suppressors, extended mags, etc and how to change that price to blackmoney so they can only use blackmoney to buy weapons

image

You just have to add the components tag be four the price then you add what attachment(s) you want for example | { weapon = ‘WEAPON_COMBATPISTOL’, components = { 0, 0, 1000, 4000, nil }, price = 10000 },

this didnt work for me