Thread: BEsaysounds
View Single Post
LocutusH
Senior Member
Join Date: Dec 2007
Location: Hungary
Old 06-11-2008 , 05:24   Re: BEsaysounds
Reply With Quote #93

Quote:
Originally Posted by BehaartesEtwas View Post
Code:
    "hi" {
      "files" {            // random sound
        "1" "misc/hi.mp3"
        "2" "misc/hy.mp3"
        "3" "misc/servus.wav"
        "4" "misc/tach.mp3"
    }
You have two "{" but only one "}".

Though this should not crash the server. But if the server crashes after the sound has been played I suppose it is something else, because the plugin is not active shortly after a connect sound has been played. The plugin hooks the player_activate event and creates only a single timer (5 secs) to play the sound. If the sound starts playing (and maybe the center text and/or chat messages have been displayed) the plugin does not do anything anymore related to the player_activate...

I had that missing } too, but i can confirm that this does not cause any server crash. That sound section was simply not working.
__________________
LocutusH is offline