Raised This Month: $51 Target: $400
 12% 

[ANY] ServerSounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Xilver266
Member
Join Date: Apr 2011
Plugin ID:
3041
Plugin Version:
1.2
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Emit sounds in multiple events
    Old 06-24-2012 , 19:01   [ANY] ServerSounds
    Reply With Quote #1



    Emit sounds in multiple events


    SourceMod 1.4.0+

    • sm_ssjoinsound - Play sound to connecting players.
    • sm_ssjoinsoundpath - Sound played to connecting players.
    • sm_ssendmapsound - Play sound on map end.
    • sm_ssendmapsoundpath - Sound played on map end.
    • sm_sssrsound - Play sound on round start.
    • sm_sssrsoundpath - Sound played on round start.
    • sm_ssersound - Play sound on round end.
    • sm_ssersoundpath - Sound played on round end.



    Code:
    2012-02-12 (v1.2)
    
    * Now, if a sound is off, don't download
    
    2012-11-09 (v1.1)
    
    * Fixed last round sound
    
    2012-25-06 (v1.0)
    
    * Initial release.
    • Place SMX in the plugins folder and you're done". A cfg file will be generated once the server has started (cfg/sourcemod/serversounds.cfg)
    • Place the sound files in the sounds folder.

    GitHub Repository
    Attached Files
    File Type: zip serversounds.zip (355.5 KB, 1984 views)
    File Type: sp Get Plugin or Get Source (serversounds.sp - 1973 views - 4.2 KB)
    __________________

    Last edited by Xilver266; 12-08-2013 at 16:26.
    Xilver266 is offline
    Koli96
    Junior Member
    Join Date: Aug 2012
    Old 08-21-2012 , 06:33   Re: [ANY] ServerSounds
    Reply With Quote #2

    It isn't working for me.
    Client isn't downloading the sounds :/
    Server: TF2

    Last edited by Koli96; 08-21-2012 at 07:08.
    Koli96 is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 08-21-2012 , 11:55   Re: [ANY] ServerSounds
    Reply With Quote #3

    Code:
    public OnConfigsExecuted()
    {
    >>>
    Code:
    public OnMapStart()
    {
    __________________
    retired
    shavit is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 08-21-2012 , 12:01   Re: [ANY] ServerSounds
    Reply With Quote #4

    In this instance, the correct usage is OnConfigsExecuted. While you could use OnMapStart, any changes in the config file wouldn't be reflected until the next map. (You could cache the variable and hook changes, then it would be valid).
    Quote:
    Originally Posted by Powerlord
    PHP Code:
    APLRes:AskPluginLoad2(Handle:myselfbool:lateString:error[], err_max);
    OnPluginStart();
    OnAllPluginsLoaded();

    do
    {
        
    OnMapStart();
        
    OnAutoConfigsBuffered(); // Except on late load
        
    OnConfigsExecuted();

        do
        {
            
    OnGameFrame();
        } 
    until (mapEnd);

        
    OnMapEnd();
    } while (
    running);

    OnPluginEnd(); 
    __________________

    Last edited by thetwistedpanda; 08-21-2012 at 12:09.
    thetwistedpanda is offline
    NinjaSK
    Senior Member
    Join Date: Sep 2012
    Old 04-20-2013 , 13:09   Re: [ANY] ServerSounds
    Reply With Quote #5

    This mod doesn't work anymore, it gets my server stuck with no errors.

    Is there another mod you recommend with same functionality?
    NinjaSK is offline
    Reply



    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 19:04.


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