Raised This Month: $429 Target: $400

[CS:GO] GetParametersForSound crashes server. SourceMod bug?

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Junior Member
Join Date: Aug 2016
Old 03-21-2020 , 19:29   [CS:GO] GetParametersForSound crashes server. SourceMod bug?
Reply With Quote #1


there is some way to play game sound instead of using ClientCommand?

I'm trying do this like:
PHP Code:
PHP Code:
CSoundEmitterSystemBase::GetParametersForSoundNo such sound tr.PuckFail 
Any EmitGameSound command that uses GetParametersForSound crashes my server and in console I can find that there is no sound like "tr.PuckFail". But it's a wrong error, because in game_sounds_world.txt we can find this sound. If I join my server and put sv_cheats 1 and then in console I type
PHP Code:
playgamesound tr.PuckFail 
then it works. I guess sourcemod has a bug and any of EmitGameSound command will not work.

I'd like to ask you if you know something about this problem. I found some info that in TF2 everything works fine. Thanks for help

I tried this:
PHP Code:
PHP Code:
then there is no error in server console, but nothing happend (no sound at all) and I think it's not because of no channel parameter.

Last edited by sebuli; 03-22-2020 at 06:16.
sebuli is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 11:10.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode