- Supported Games
- All
This plugin plays custom songs at the round end. You can configure separate sounds to play for Terrorists and Counter-Terrorists. Songs can also be played randomly or in queue. This plugin also provides feature to play the song till it ends and can print song names in chat while playing.
Requirements :
Client Commands :
CVARs :
Credits :
Requirements :
- Sourcemod v1.8 or Higher
- [Optional] Delay Round End - Only if you want to increase the round end time and
res_play_to_the_end
is set to 0. - [Optional] Sound Info Library Extension - Only required if you want the songs play till end and
res_play_to_the_end
is set to 1. In this case you do not need to install Delay Round Endplugin.
- Download Abner_RES.zip file from this post.
- Extract the contents of zip file and put it into cstrike folder of your server.
- Configure the songs in cstrike/addons/sourcemod/configs/abner_res.txt.
- Upload the songs in cstrike/sound folder and also upload on FastDL Server if you want fast download.
- Restart the server.
- Make sure the songs are in .mp3 or .wav format. Songs should have sample rate of 44100 Mhz, otherwise songs won't play.
- Configure each song in cstrike/addons/sourcemod/configs/abner_res.txt
Code:"Abner Res" // Do not modify this { "despacito.mp3" // This name should be unique and should match with the mp3 file name { "songname" "Despacito - Luis Fonsi Feat. Justin Beiber" // Provide the name of the song, if cvar res_print_to_chat_mp3_name value is set to 1, this name will be printed in chat when the song plays } "faded.mp3" { "songname" "Faded - Alan Walker" } }
Code:
!res_refresh - Reloads the songs from config file
Code:
!res - Players can turn on/off hearing the round end sounds using this command
// Plugin version
// -
// Default: "4.0.1"
abner_res_version "4.0.1"
// Enable/Disable client preferences
// -
// Default: "1"
res_client_preferences "1"
// Path of sounds played when Counter-Terrorists Win the round
// -
// Default: "misc/tecnohard"
res_ct_path "vertigo/res"
// Default sound volume.
// -
// Default: "0.75"
res_default_volume "0.75"
// Path of sounds played when Round Draw or 0 - Don´t play sounds, 1 - Play TR sounds, 2 - Play CT sounds
// -
// Default: "1"
res_draw_path "0"
// Play sounds to the end.
// -
// Default: "0"
res_play_to_the_end "0"
// 1 - Random, 2 - Play in queue
// -
// Default: "1"
res_play_type "1"
// Print mp3 name in chat (Suggested by m22b)
// -
// Default: "1"
res_print_to_chat_mp3_name "1"
// Stop map musics
// -
// Default: "1"
res_stop_map_music "1"
// Path of sounds played when Terrorists Win the round
// -
// Default: "misc/tecnohard"
res_tr_path "vertigo/res"
// -
// Default: "4.0.1"
abner_res_version "4.0.1"
// Enable/Disable client preferences
// -
// Default: "1"
res_client_preferences "1"
// Path of sounds played when Counter-Terrorists Win the round
// -
// Default: "misc/tecnohard"
res_ct_path "vertigo/res"
// Default sound volume.
// -
// Default: "0.75"
res_default_volume "0.75"
// Path of sounds played when Round Draw or 0 - Don´t play sounds, 1 - Play TR sounds, 2 - Play CT sounds
// -
// Default: "1"
res_draw_path "0"
// Play sounds to the end.
// -
// Default: "0"
res_play_to_the_end "0"
// 1 - Random, 2 - Play in queue
// -
// Default: "1"
res_play_type "1"
// Print mp3 name in chat (Suggested by m22b)
// -
// Default: "1"
res_print_to_chat_mp3_name "1"
// Stop map musics
// -
// Default: "1"
res_stop_map_music "1"
// Path of sounds played when Terrorists Win the round
// -
// Default: "misc/tecnohard"
res_tr_path "vertigo/res"
Credits :
- abnerfs