Raised This Month: $ Target: $400
 0% 

[Any] Random Join/Welcome Sound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Plugin ID:
3461
Plugin Version:
1.1.0
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Play a random sound to a client that connects
Old 01-11-2013 , 00:42   [Any] Random Join/Welcome Sound
Reply With Quote #1

Random Join Sound

v. 1.1.0

This plugin was originally for a paid request. Author allowed me to release it publicly, as there was no plugins doing such a thing (wtf, honestly...).

Features :
  • Play a random sound to clients that connect
  • Since it uses this, it is easy to add a sound to play; just add a sound to the folder (defined by cvar 'sm_join_sound') and wait for map change.
  • Allows client to disable the welcome sound via client prefs.

Known bugs :
CVars :
  • randomjoinsoundversion: Gives version -_-'
  • ----------
  • sm_join_sound_enable : Is the plugin enabled ? 0=No, 1=Yes. Def. 1
  • sm_join_sound : The sound folder where to take a sound to play. Def. "sound/joinsounds".
  • sm_join_sound_defaultcookie : Default cookie value. 0=Do not play, 1=Play random sound, 2=Play but stop when joining a playable team

Notes :
--------------

Any suggestions/comments on the code or the plugin are welcomed and appreciated.

Changelog :
  • 1.0.0 Initial release. (11-01-2013)
  • 1.0.1 (Semi-public) failed attempt what was fixed in 1.0.2. (01-07-2013)
  • 1.0.2 Fixed a problem with loading order (no more "FailState"). (semi-public 04-07-2013 / first post 26-10-2013)
  • 1.0.2b Real 1.0.2 <.< (previous was same as 1.0.1 :$). (27-10-2013)
  • 1.1.0 Added client prefs support (disable/enable/enable but stop on join team). (28-10-2013)

Todo list :
  • None at the moment. You're free to suggest things.
Attached Files
File Type: zip soundsSample.zip (405.9 KB, 3512 views)
File Type: sp Get Plugin or Get Source (randomjoinsound.sp - 1923 views - 6.4 KB)
File Type: smx randomjoinsound.smx (7.4 KB, 1975 views)
File Type: txt randomjoinsound.phrases.txt (557 Bytes, 2159 views)
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 10-29-2013 at 21:47. Reason: 296sp/327mx
RedSword is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode