Description:
This plugin give your players the opportunity to chose an intro sound to hear when they join the server. Basically, this plugin is a more advanced
"Welcome Sound" plugin with the possibility to chose between sounds (and the magic "no intro" option aswell). The players' choises are saved in a file in the SourceMod data directory - no database is required.
In version 1.01 there's a new "difference", the plugin has a convar which allows you to make the intro sound play again on round start (useful for early joining players on a new map - otherwise the intro sound will just stop on roundstart...) or players who join just a little bit before the round start.
Commands:
sm_intro (!intro or /intro in chat) -- displays the intro chooser menu
ConVars:
(the default values are inside the quotes)
Quote:
sm_intro_repeat_on_roundstart "1" -- Enable/disable the possibility to repeat the intro on roundstart once (otherwise it will stop automatically when a new round starts); 0 - disable, 1 - enable
sm_intro_version "1.02" -- Intro sound chooser version (unchangeable)
|
Installation:
Get the plugin by clicking "Get Plugin" below. Place the compiled .smx file in your addons/sourcemod/plugins folder.
Then, download the example introsounds.cfg, place it in addons/sourcemod/configs and configure it as you like (the specified sounds are automatically downloaded and precached).
Restart your server or type
sm plugins load sm_intro in console.
Done
Changelog:
- 1.00
- 1.01
- Some optimizations
- Added the possibility to choose whether the intro sound should be repeated on round start or not
- 1.02
- Fixed a bug (Native "EmitSound" reported: Client x is not connected)