1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
addhook("attack","_attack") function _attack(id) if player(id,'weapon') == 50 then parse("sv_sound2 "..id.." "env/click.wav"") elseif player(id,'weapon') == 34 then parse("sv_sound2 "..id.." "env/click.wav"") end end
i making lua which if player attack/shot then sound will plays around player who attack/shot.
i searched this and i saw some same question but, still i don't get it , please help me