[CS:S/CS:GO] MusicManager v1.1

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CS:S/CS:GO] MusicManager v1.1

Post by Andreeas »

Music Manager v1.1
Note: I searched for sound plugin for round end and join sound, but i didn't found good plugin for this, so i did my own plugin.
Everytime when i open server i writing this plugin... now it will be saved here.

Dependencies:
clientprefs.smx

Cvars:
// Enable or disable plugin.
sm_musicmanager_enable "1"

// Count of join sounds (join sounds take from playlist)
sm_musicmanager_joincount "1"

// Use random playlist (1) or following playlist (0)
sm_musicmanager_random "0"

Tip: You can found cvars after plugin load here:
cfg/sourcemod/MusicManager.cfg

Command list:
!rsound - Disable or enable sounds for player. (It not works for join sounds)
These settings will be saved for player.
How it works?
Create playlist file here: addons/sourcemod/configs/musicmanager.txt
put one sound on one line.
first sounds can be detected as join sounds. (sm_musicmanager_joincount "1")
change sm_musicmanager_joincount to 0, if you have not join sounds.
You can set random or follow playlist play mode. (sm_musicmanager_random "0")
musicmanager.txt dont support comments!
For example:
We have follow playlist in musicmanager.txt
Code:
neatek250914/mylove_mygirl.mp3
neatek250914/neatek0004_neatek_1.mp3
neatek250914/neatek0023_neatek.mp3
neatek250914/neatek0030_neatek.mp3
neatek250914/neatek0034_neatek.mp3
if we set sm_musicmanager_joincount "1"
in cfg/sourcemod/MusicManager.cfg
first sound neatek250914/mylove_mygirl.mp3 will be on player join.

Download
Post Reply

Return to “General Purpose”