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
)
hi everyone,i learned how to mod cars,weapons,skins before a few days ago from you guys.do anyone know to change weapon sfx sound? if so please reply.thank you.