Raised This Month: $51 Target: $400
 12% 

[Any] Single Sound Player


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
1226
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plugin allows an admin to play a sound to a single player.
    Unapprover:
    Reason for Unapproving:
    replicates existing plugin
    Old 10-17-2009 , 15:40   [Any] Single Sound Player
    Reply With Quote #1

    [Any] Single Sound Player
    Version 1.0


    Introduction:

    This plugin lets an admin play a sound to one player without affecting any other players on the server.

    I created this specifically to play a sound clip to annoying/abusive/undesirable players that might otherwise be kicked/banned (I don't like banning people, and kicked people rejoin)
    If you want to use another audio file, just edit the filename defined on line 4.

    Commands:
    sm_singlesound <#userid:name>

    Install Instructions:
    1. Place SingleSound.smx into your sourcemod/plugins/ folder.
    2. Place your sound file in tf/sounds
    3. Place the sound file on your fast download server in the same location.
    Version History:
    • v1.0
      • Initial Release
    TODO:
    1. Add admin menu integration
    2. Add support for more then one audio file
    3. Add config file to read from
    ! Warning attached audio clip is very explicit and contains cursing !
    Attached Files
    File Type: sp Get Plugin or Get Source (SingleSound.sp - 772 views - 1.2 KB)
    File Type: zip angryadmin.mp3.zip (321.2 KB, 205 views)
    __________________

    Last edited by DarthNinja; 10-18-2009 at 14:08.
    DarthNinja is offline
    crazydog
    AlliedModders Donor
    Join Date: Jan 2006
    Old 10-18-2009 , 06:25   Re: [Any] Single Sound Player
    Reply With Quote #2

    May I ask why I would want to use this instead of sm_play?
    crazydog is offline
    shustas
    SourceMod Donor
    Join Date: May 2007
    Location: London
    Old 10-18-2009 , 07:36   Re: [Any] Single Sound Player
    Reply With Quote #3

    yep, sm_play comes with base plugins
    __________________
    shustas is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 10-18-2009 , 14:07   Re: [Any] Single Sound Player
    Reply With Quote #4

    Well, to be honest, I didn't know about sm_play until just now
    I argue that this plugin is easier since you don't have to remember the file path...
    But still, oops

    Maybe when I get some time I'll adapt it to play a selection of sounds via the admin menu...
    __________________
    DarthNinja is offline
    Reply



    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:15.


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