View Single Post
mug1wara
AlliedModders Donor
Join Date: Jun 2018
Old 09-18-2018 , 11:51   Re: Play headshot sound to player
Reply With Quote #2

Quote:
Originally Posted by ItsMeMaLi View Post
PHP Code:
EmitSoundToClient(victim"Player.DeathHeadShot");
EmitSoundToClient(attacker"Player.DeathHeadShot"); 
but it doesn't work.
Of course not.

You need to tell the function where to get the sounds from.

Edit:

For example, "sounds/anime/onepiece/mugiwara.mp3".

Last edited by mug1wara; 09-18-2018 at 11:52.
mug1wara is offline