View Single Post
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 06-15-2021 , 01:28   Re: EmitSoundAny - Cross-game sound emitting (aka CS:GO compatible) (1.0.2, 2014-03-1
Reply With Quote #82

Quote:
Originally Posted by 8guawong View Post
don't think csgo needs to use this anymore

to fix your compile error try

Code:
EmitSoundToClientAny(iClient, SOUND_SPRAY_REL, iClient, SNDCHAN_AUTO, SNDLEVEL_NORMAL, SND_NOFLAGS, 0.4);
Compiled, but now neither I nor the players hear the spray sound.

Apparently gives a precache error:
PHP Code:
EmitAmbientSound:  sound not precached: **/player/spray_zk.mp3

EmitAmbientSound
:  sound not precached: **/player/spray_zk.mp3

EmitAmbientSound
:  sound not precached: **/player/spray_zk.mp3 

Last edited by paulo_crash; 06-15-2021 at 01:32.
paulo_crash is offline