5p where to put this line?
addEventHandler("onClientPlayerWeaponFire", getRootElement(),
function ( weapon, ammo, ammoInClip )
local x,y,z = getElementPosition(source)
if weapon == 22 then
local sound = playSound3D("hg.mp3", x,y,z)
setSoundVolume(sound,10)
setSoundMaxDistance(sound,75)
end
end
)