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

[TF2] Team Locker


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TheUnderTaker
Senior Member
Join Date: Dec 2013
Location: Israel
Plugin ID:
4736
Plugin Version:
1.0
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    41 
    Plugin Description:
    Lock/Unlock teams by a simple command
    Old 07-21-2015 , 14:41   [TF2] Team Locker
    Reply With Quote #1

    Description:

    This plugin made specially for Jailbreak Servers or servers that making special rounds or events, can lock and unlock TF2 teams.

    ConVars & Commands:

    ConVar: mp_humans_must_join_team - This ConVar used in the plugin(So you don't need to use it).
    Command: sm_lock <team> - Lock the team you wrote in argument 1.
    Command: sm_unlock - Unlock all teams.

    Changelog:

    21-7-2015 - Release!

    Installation:

    Put the .SMX file in - tf\addons\sourcemod\plugins.

    Hope it will be usefull for you guys
    Attached Files
    File Type: sp Get Plugin or Get Source (Team Locker.sp - 1596 views - 1.9 KB)
    __________________
    SourcePawn, C# and C++ Programmer.

    My plugin list
    TheUnderTaker is offline
    341464
    Senior Member
    Join Date: Dec 2010
    Location: GetClientEyePosition
    Old 07-27-2015 , 05:28   Re: [TF2] Team Locker
    Reply With Quote #2

    Maybe there should be a client==0 check or a general player check when calling the commands.
    __________________
    341464 is offline
    Send a message via Skype™ to 341464
    TonyBaretta
    Senior Member
    Join Date: Mar 2014
    Location: nope.avi
    Old 07-27-2015 , 07:59   Re: [TF2] Team Locker
    Reply With Quote #3

    sm_rcon mp_humans_must_join_team <any /red/blue/spectator> do the same function of your plugin


    OR you can edit Admin MENU and add it like FF
    Quote:
    "Commands"
    {
    "RCON Commands"
    {
    "Friendly Fire"
    {
    "cmd" "mp_friendlyfire #1"
    "admin" "sm_kick"
    "execute" "server"
    "type" "onoff"
    }
    }
    }
    }

    Last Way by Map Config :

    create a file .cfg like mapname.cfg put in mp_humans_must_join_team <any /red/blue/spectator> and here you go , save the file into TF/cfg , when map is loaded game read that file and change cvar
    __________________

    Last edited by TonyBaretta; 07-27-2015 at 08:54.
    TonyBaretta is offline
    341464
    Senior Member
    Join Date: Dec 2010
    Location: GetClientEyePosition
    Old 07-27-2015 , 16:29   Re: [TF2] Team Locker
    Reply With Quote #4

    Quote:
    Originally Posted by TonyBaretta View Post
    sm_rcon mp_humans_must_join_team <any /red/blue/spectator> do the same function of your plugin


    OR you can edit Admin MENU and add it like FF



    Last Way by Map Config :

    create a file .cfg like mapname.cfg put in mp_humans_must_join_team <any /red/blue/spectator> and here you go , save the file into TF/cfg , when map is loaded game read that file and change cvar
    I believe he's aware of that since that's what his plugin is based on, perhaps an easier way for admins I guess.
    __________________
    341464 is offline
    Send a message via Skype™ to 341464
    TheUnderTaker
    Senior Member
    Join Date: Dec 2013
    Location: Israel
    Old 07-28-2015 , 01:08   Re: [TF2] Team Locker
    Reply With Quote #5

    Quote:
    Originally Posted by TonyBaretta View Post
    sm_rcon mp_humans_must_join_team <any /red/blue/spectator> do the same function of your plugin


    OR you can edit Admin MENU and add it like FF



    Last Way by Map Config :

    create a file .cfg like mapname.cfg put in mp_humans_must_join_team <any /red/blue/spectator> and here you go , save the file into TF/cfg , when map is loaded game read that file and change cvar
    I won't do it, I did for jail server not my private configs, Admin doesn't get access for CFG files.

    And why are you using the old thread? Look Team System in my Signature
    __________________
    SourcePawn, C# and C++ Programmer.

    My plugin list
    TheUnderTaker 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 08:03.


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