View Single Post
Austin
Senior Member
Join Date: Oct 2005
Old 08-14-2021 , 15:07   Re: One sound works, one doesn't , why?
Reply With Quote #3

Quote:
Originally Posted by DJ Tsunami View Post
OnMapStart needs to be public.
I was wondering why the compiler was giving me this....
ABS_CSGO_Test.sp(184) : warning 203: symbol is never used: "OnMapStart"

I changed it to public and the warning goes away and it works!
WOW!

That was All it was......

The interesting thing is...
OnMapStart with void was not getting called so the sound was not getting precached so that explains EmitSoundToClient() not working,

but this death sound is used by CSGO.
About once in 100 deaths CSGO will play this sound.
After CSGO plays this sound my EmitSoundToClient() starts to work.

SO CSGO maybe? must see that it needs to cache that sound before it plays it and then caches it which causes my plugin to work?

How do I mark this post as Solved?

THANK YOU!

Last edited by Austin; 08-14-2021 at 15:08.
Austin is offline