Quote:
hmm, where do i add the sound that should play before the teams are switched?
|
By default the plugin uses the sound "ambient/misc/brass_bell_C.wav", which is inside the folder "sounds" of the server.
To use another alert sound you just change the value of the CVAR "sm_autoswapteam_sound_file" in the settings file "autoswapteam.cfg" that was created inside the folder "cfg/SourceMod".
The sound file that you use should be inside the folder "sounds" of the server. If it is not any sound pattern of the game, you must add it in the file "whitelist.cfg" in the server.
Example:
"add" "sound/ui/..." // vgui ui sounds
"add" "sound/quake/..." // folder with the sounds of the quake
Quote:
ya, and it would be awesome if it could be done by a cvar, like sm_autoswapteam_immune_add <SteamID>
and
sm_autoswapteam_immune_remove <SteamID>
it's more because, as i said in the previous post, we are running sourcebans, which means admins and stuff runs over our website, so we would have to add players manually to that which is a pain in the ass when we have a script that can do it automatically if there is cvars for it
|
Will I see the possibility of creating a list of players to add immunity
__________________
My Plugins:
-
IP Block: This plugin block the entry in the server of players with same IP. Too is possible to config exceptions for some IPs
-
Auto Swap Team: This plugin does the automatic swap of teams according to the options selected
-
Welcome Sound: Plays sound of welcome for the players