Description :
This is edited plugin.
disable map musics commands (Clients)
Original author : GoDTony.
Original plugin :
https://forums.alliedmods.net/showpo...4&postcount=10
Features :
Commands sets client map musics off/on, not server.
Stop music instant, Original plugin Stops music 10 sec interval.
Auto stopmusic on player connect, you can disable it on cvar
Stopmusic, playmusic and togglemusic commands, stopmusic sets map musics off, playmusic sets
map musics on and togglemusic toggles map musics on/off.
Works on CSGO and CSS.
New SM Syntax
CVARS :
stopmusic_autostopmusicconnect // Default: "1" - Enable Auto StopMusic on Connect
stopmusic_prefix // Default: "Music" - ChatPrefix
Commands :
sm_music - Toggles map music on/off
sm_togglemusic - Toggles map music on/off
sm_playmusic - Toggle map music on
sm_stopmusic - Sets map music off
How to install? :
Move .smx file to folder on your /$serverdirectory/csgo/addons/sourcemod/plugins/ directory
Move .sp file to folder on your /$serverdirectory/csgo/addons/sourcemod/scripting/ directory
and run "sm plugins refresh" on console or change map.
Depedencies :
dont needs any depedencies
!Changelog:
Quote:
1.2
-added configs
-added new convar
1.3
-added new SM syntax
-not needs any depedencies
-fixed !togglemusic and !music.
|
GITHUB:
Repository
Download