Raised This Month: $32 Target: $400
 8% 

[L4D2] All admin team configs


Post New Thread Reply   
 
Thread Tools Display Modes
Author
crazydog
AlliedModders Donor
Join Date: Jan 2006
Plugin ID:
2181
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Executes a config if all players on team are admins, and when all are not admins
    Old 01-18-2011 , 23:52   [L4D2] All admin team configs
    Reply With Quote #1

    This is a simple little plugin I was using for myself. Modified to execute a config rather than run hardcoded commands.

    Requires two cfg files:
    cfg/sourcemod/adminconfig/not_admins.cfg
    cfg/sourcemod/adminconfig/all_admins.cfg

    Cvar:
    sm_adminconfig_team - Which team to check for admins [survivor/infected] - DEFAULT: infected


    In a nutshell:
    If all players on team sm_adminconfig_team are admins, all_admins.cfg is executed.
    If at least one player on team sm_adminconfig_team is not an admin, not_admins.cfg is executed.

    Example usage: When you want a plugin running only when admins are on a team.

    Code:
    Changelog:
    
    1.0 (1/18/11)
    -Initial Release
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_adminconfig.sp - 9 views - 2.4 KB)

    Last edited by crazydog; 01-18-2011 at 23:55.
    crazydog is offline
    xioSlayer
    Senior Member
    Join Date: Apr 2011
    Old 08-31-2011 , 14:08   Re: [L4D2] All admin team configs
    Reply With Quote #2

    Just out of curiosity what could this be used for? I can't think of anything except nefarious things... lol.
    xioSlayer is offline
    crazydog
    AlliedModders Donor
    Join Date: Jan 2006
    Old 08-31-2011 , 16:31   Re: [L4D2] All admin team configs
    Reply With Quote #3

    Quote:
    Originally Posted by xioSlayer View Post
    Just out of curiosity what could this be used for? I can't think of anything except nefarious things... lol.
    Yup!
    crazydog is offline
    Munch
    Senior Member
    Join Date: May 2012
    Location: Liverpool UK
    Old 04-15-2014 , 13:38   Re: [L4D2] All admin team configs
    Reply With Quote #4

    Links to sp & smx not working
    __________________
    Dead Men Fighting L4D2 8 Man Dead Men Fighting UK
    Munch 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 19:40.


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