There should already be a ClientCommand line in the plugin. Just add a * before the filename so it's streamed.
Thanks, Kyle. On Oct 24, 2012 3:06 PM, "pater.invictus" <[email protected]> wrote: > Wait a sec....so if I put the quakesounds plugin in, where exactly am I > putting this ClientCommand so everyone can hear it? > > On Wed, Oct 24, 2012 at 3:34 PM, Nicholas Hastings < > [email protected]> wrote: > >> You don't need to specifically put them in the music dir; you just need >> to mark them to be streamed (or have the client rebuild the audio cache). >> >> You can mark them to be streamed instead of from cache by using the >> 'play' client command and prefixing the path with an asterisk. SourceMod >> example: ClientCommand( client, "play *custom/mysound.mp3" ) >> >> >> On 10/24/2012 5:30 PM, pater.invictus wrote: >> >> Many of the mods and plugins use sounds that must be placed in the >> csgo\sound\music\ directory. >> >> This is mostly annoying because almost everyone I know Turns the in game >> sound off - therefore they cannot hear 3rd party sounds/quakesounds etc.... >> >> How hard is it to allow these plugins to call sounds from a custom >> directory? >> >> >> _______________________________________________ >> Csgo_servers mailing >> [email protected]https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers >> >> >> -- >> Nicholas Hastings >> AlliedMods.net <http://www.alliedmods.net> >> >> _______________________________________________ >> Csgo_servers mailing list >> [email protected] >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers >> > > > _______________________________________________ > Csgo_servers mailing list > [email protected] > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers >
_______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
