Raised This Month: $182 Target: $400
 45% 

[ANY] Admin Join Sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author
klausenbusk
SourceMod Donor
Join Date: Jan 2011
Plugin ID:
2619
Plugin Version:
1.6
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    42 
    Plugin Description:
    Simple play a sound when a admin join
    Old 10-25-2011 , 14:54   [ANY] Admin Join Sound
    Reply With Quote #1

    Admin Join Sound
    This plugin, simple play a sound when a admin with the Generic flag join, can be overridden with "AdminJoinSound".
    I made this for a friend, because i could find a simple plugin, there could this.

    Cvars:
    • sm_adminjs_path - What sound to play, without sound/.
    • sm_adminjs_version 1.7 - Admin Join Sound version
    Installation:
    • Move admin-join-sound.smx into you Sourcemod/plugins folder.

    Changelog:
    Code:
    2015-03-05 (v1.7)
    Cvar is no longer locked after first change.
    Removed unneeded FileExists..
    Fixed so sound is now also precached on cvar change..
    See page 6 for more information. Thanks to RedSword! :)
    2014-06-02 (v1.6) (300+ downloads)
    Added missing check mentioned in #46, maybe also reason for crash in #48.
    Added "AdminJoinSound" for supporting "Overriding Command Access".
    2012-06-11 (v1.5) 1344 downloads
    Removed code to check if sound exist.
    Changed convar "sm_adminjs_path" description.
    Removed unused code "OnConfigsExecuted".
    Changed name of ConVarChange CallBack.
    Fixed wrong path added to downloadtable.
    2011-10-25 (v1.4) 
    First public release.
    2011-XX-XX(v1.0-1.3)
    Can't remember.
    Attached Files
    File Type: sp Get Plugin or Get Source (admin-join-sound.sp - 1606 views - 1.4 KB)

    Last edited by klausenbusk; 03-05-2015 at 10:20. Reason: New version 1.7
    klausenbusk is offline
    tzuck
    Member
    Join Date: Jul 2011
    Location: Romania
    Old 10-25-2011 , 16:31   Re: [ANY] Admin Join Sound
    Reply With Quote #2

    Nici pluign . I just installed on server.
    __________________
    My deathmatch server Dm.Kill4Fun.Ro Forum : - http://www.kill4fun.ro/forum
    Pluign http://adf.ly/AzF7o
    tzuck is offline
    Send a message via Yahoo to tzuck
    Snaggle
    AlliedModders Donor
    Join Date: Jul 2010
    Location: England
    Old 10-25-2011 , 17:08   Re: [ANY] Admin Join Sound
    Reply With Quote #3

    How does this determine who an Admin is?
    Snaggle is offline
    klausenbusk
    SourceMod Donor
    Join Date: Jan 2011
    Old 10-25-2011 , 17:38   Re: [ANY] Admin Join Sound
    Reply With Quote #4

    Quote:
    Originally Posted by Snaggle View Post
    How does this determine who an Admin is?
    By see if client have a admin id. http://docs.sourcemod.net/api/index....d=show&id=413&
    klausenbusk is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 12-20-2011 , 13:41   Re: [ANY] Admin Join Sound
    Reply With Quote #5

    -snip-

    Last edited by xomp; 12-20-2011 at 21:13. Reason: n/m
    xomp is offline
    Send a message via Skype™ to xomp
    ExXxO
    New Member
    Join Date: Feb 2012
    Location: ba_jail_electric_vip
    Old 02-28-2012 , 03:43   Re: [ANY] Admin Join Sound
    Reply With Quote #6

    How Can i disable the Sound? I have deleted the .smx but its not deaktivated!!!!
    ExXxO is offline
    Send a message via MSN to ExXxO Send a message via Skype™ to ExXxO
    blue zebra
    BANNED
    Join Date: Jun 2010
    Old 02-28-2012 , 14:52   Re: [ANY] Admin Join Sound
    Reply With Quote #7

    Change map on the server, man.
    blue zebra is offline
    Sawn
    Junior Member
    Join Date: Aug 2011
    Old 03-31-2012 , 14:13   Re: [ANY] Admin Join Sound
    Reply With Quote #8

    It dont work for me. Did i something wrong with the path command?
    sm_adminjs_path "sow/admin_alert.mp3" thats how i did it
    Sawn is offline
    klausenbusk
    SourceMod Donor
    Join Date: Jan 2011
    Old 03-31-2012 , 16:03   Re: [ANY] Admin Join Sound
    Reply With Quote #9

    Quote:
    Originally Posted by Sawn View Post
    It dont work for me. Did i something wrong with the path command?
    sm_adminjs_path "sow/admin_alert.mp3" thats how i did it
    You get any error in you CS:S console? (not you server, but client "console"), when a admin join?
    Wait: I release a version 1.5 in 5 min, there fix the problem.

    Last edited by klausenbusk; 03-31-2012 at 16:04.
    klausenbusk is offline
    Sawn
    Junior Member
    Join Date: Aug 2011
    Old 03-31-2012 , 16:08   Re: [ANY] Admin Join Sound
    Reply With Quote #10

    Im using it in TF2.
    Sawn is offline
    Reply


    Thread Tools
    Display Modes

    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 09:13.


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