Thread: Welcome Sound
View Single Post
Trans_Am_00
Senior Member
Join Date: Jul 2013
Location: 127.0.0.1
Old 05-03-2014 , 07:53   Re: Welcome Sound
Reply With Quote #27

Hi,
i not sure what happen, one of the user "Tim" have sound when enter but other user "Sam" sound not playing when enter. Both using the same mp3 and login using the same computer.

I have create a folder at "tf\sound\WS"

console command for sam
Code:
sm_wsound_add STEAM_<sam> WS/welcomesound.mp3
welcomesound.cfg
Code:
// This file was auto-generated by SourceMod (v1.3.9-dev)
// ConVars for plugin "welcomesound.smx"


// Announce the command !stop? [0 = No, 1 = Yes]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_wsound_announce_stop "0"

// Allow the client to use the !stop and stop the sound? [0 = No, 1 = Yes]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_wsound_client_stop "0"

// On / Off Sound welcome. [0 = Off, 1 = On]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_wsound_enable "1"

// Address of the sound file
// -
// Default: "ambient/music/dustmusic1.wav"
sm_wsound_file "WS/welcomeSound.mp3" 

// Stop the sound when the player chooses a team? [0 = No, 1 = Yes]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_wsound_stop_spawn "0"

// Type of execution. [1 = For all, 2 = Only registered players]
// -
// Default: "1"
// Minimum: "1.000000"
// Maximum: "2.000000"
sm_wsound_type "2"
sm_wsound_list STEAM_<tim>
Code:
W-Sound] STEAM_ID | SOUND FILE
-----------------------------------------------------
[W-Sound] STEAM_<tim> | WS/welcomesound.mp3
-----------------------------------------------------
__________________
-= Trans-Am =-
Quote:
Where pink owns everything
Trans_Am_00 is offline