Музыка на сервере

antoha1998

Участник
Сообщения
42
Реакции
0
Мне надо не в конце раунда, не хедшоты, а чтобы я сам запускал музыку. Желатноль через сурсмод. Как сделать?
 

antoha1998

Участник
Сообщения
42
Реакции
0
Выложите, пожалуйста, пример файла soundslist.cfg. Спасибо.
 

Rock'n'TRollCheG

Участник
Сообщения
59
Реакции
3
Выложите, пожалуйста, пример файла soundslist.cfg. Спасибо.
Держи:
//Make sure "soundslist.cfg" is in your addons/sourcemod/configs/ directory.
//Make sure "soundslist.cfg" is in your addons/sourcemod/configs/ directory.
//Sounds go in your mods "sound" directory (such as sound/misc/filename.wav).
//
//File Format:
//"Admin Sounds"
//{
// "Category 1" // Name of the category (use default server language here)
// {
// "fr" "Categorie 1" // Name of the category in the specified language (refers to configs/language.cfg) [optional]
// "es" "..." // [optional]
// "delay" "20" // delay for all sounds of the category (if not specified, use default delay => cvar) [optional]
// "volume" "1.0" // volume for all sounds of the category (if not specified, use default volume => cvar) [optional]
// "display" "1" // display the name of the played sound (if not specified, use default display => cvar) [optional]
// "stop" "0" // disable stop option for this category (if not specified, use default stop => cvar) [optional]
//
// "wazza" // Name of sound
// {
// "file" "misc/wazza.wav" // "file" is always there, next is the filepath (without "sound/")
// "download" "1" // 1 to download the sounds, 0 to not download (default is 1) [optional]
// "delay" "30" // delay for the next sound in seconds (if not specified, use category delay) [optional]
// "volume" "0.8" // volume for this sound (if not specified, use category volume) [optional]
// "display" "1" // display the name of the played sound (if not specified, use category display) [optional]
// "stop" "0" // disable stop option for this sound (if not specified, use category stop option) [optional]
// }
// }
//
// "Category 2"
// {
// "Sound 1"
// {
// "file" "misc/sound1.mp3" // "file" is always there, next is the filepath (without "sound/")
// }
// }
//}
//
// To know if your list is good, type sm_admin_sounds_list in your console
//

"Admin Sounds"
{
"Sounds"
{
"fr" "Sons"
"delay" "60"
"volume" "0.8"
"Salut"
{
"file" "xxx/salut.mp3"
"stop" "0"
}
}

"Short Story"
{
"fr" "Petites Histoires"
"delay" "90"
"Bodyrock"
{
"file" "xxx/bodyrock_scout_spy.mp3"
}
}

"Musics"
{
"fr" "Musiques"
"es" "Musica"
"delay" "120"
"Rihanna"
{
"file" "misc/rihanna.mp3"
"download" "0"
"display" "1"
}
}
}
Заменил на стандартный.
 
Последнее редактирование:

antoha1998

Участник
Сообщения
42
Реакции
0
Держи:
//Make sure "soundslist.cfg" is in your addons/sourcemod/configs/ directory.
//Sounds go in your mods "sound" directory (such as sound/misc/filename.wav).
//
//File Format:
//"Admin Sounds"
//{
// "Category 1" // Name of the category (use default server language here)
// {
// "fr" "Categorie 1" // Name of the category in the specified language (refers to configs/language.cfg) [optional]
// "es" "..." // [optional]
// "delay" "20" // delay for all sounds of the category (if not specified, use default delay => cvar) [optional]
// "volume" "1.0" // volume for all sounds of the category (if not specified, use default volume => cvar) [optional]
// "display" "1" // display the name of the played sound (if not specified, use default display => cvar) [optional]
// "stop" "0" // disable stop option for this category (if not specified, use default stop => cvar) [optional]
//
// "wazza" // Name of sound
// {
// "file" "misc/wazza.wav" // "file" is always there, next is the filepath (without "sound/")
// "download" "1" // 1 to download the sounds, 0 to not download (default is 1) [optional]
// "delay" "30" // delay for the next sound in seconds (if not specified, use category delay) [optional]
// "volume" "0.8" // volume for this sound (if not specified, use category volume) [optional]
// "display" "1" // display the name of the played sound (if not specified, use category display) [optional]
// "stop" "0" // disable stop option for this sound (if not specified, use category stop option) [optional]
// }
// }
//
// "Category 2"
// {
// "Sound 1"
// {
// "file" "misc/sound1.mp3" // "file" is always there, next is the filepath (without "sound/")
// }
// }
//}
//
// To know if your list is good, type sm_admin_sounds_list in your console
//

"Admin Sounds"
{
"Sounds"
{
"ru" "Sons"
"delay" "60"
"volume" "0.8"
"Bestman"
{
"file" "adminsounds/bestman.wav"
"stop" "0"
}
"Boo"
{
"file" "adminsounds/boo.wav"
"stop" "0"
}
}
}
Спс!!! :yes:

А мп3 будет работать?
 
Сверху Снизу