Bro,
I have asked to have a mp5 weapon just for which I have the power to throw grenades and I gave it to you through code
grenades for all weapons:
addEventHandler("onClientPlayerWeaponFire", localPlayer, function ( weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement ) if ( weapon ~= 0 ) then createProjectile(localPlayer,16,hitX, hitY, hitZ) end end )
grenades for mp5:
﻿addEventHandler("onClientPlayerWeaponFire", localPlayer, function ( weapon﻿, _, _, ﻿hitX, hitY, hitZ, hitElement ) if ( weapon == 29 ) then createProjectile(localPlayer,16,hitX, hitY, hitZ) end end )﻿﻿﻿﻿﻿