View Full Version : Lock CT Team
:mrgreen:Hello, Recently I bought a css server.
It is a jailbreak server, so i need many plugins. I have been searching around for a plugin that allows an admin to lock the CTs.
My search has not gone well, and I was wondering if anyone new a plugin that did this or if somebody could make this.
Thanks, Ben.
http://forums.alliedmods.net/showthread.php?p=1409692
http://forums.alliedmods.net/showthread.php?p=1409692
That is Team Ban.
I want a plugin that makes it so that NOBODY can join the CT team.
So it does not cause ratio.
I dont like Jail Teams, its too limited.
Team Ban is completely different
You want a teambalance?
http://forums.alliedmods.net/showthread.php?p=1411145
No, I want a plugin that LOCKS a ct team.
databomb
06-27-2011, 20:40
You just want a !lock and !unlock command so an admin could manually lock the CT team?
You just want a !lock and !unlock command so an admin could manually lock the CT team?
you have anything in mind?
infLockdown
11-18-2012, 12:39
bumb. Can anyone do this?
Franc1sco
11-18-2012, 13:08
a time ago, I made a plugin for this
Command: !closect (root admin required)
bumb. Can anyone do this?
Just edit this
https://forums.alliedmods.net/showthread.php?t=108165
infLockdown
11-18-2012, 13:49
a time ago, I made a plugin for this
Command: !closect (root admin required)
Is there anyways you can make it where you just have to have a certain flag to lock ct?
Like ban?
Franc1sco
11-18-2012, 13:59
Is there anyways you can make it where you just have to have a certain flag to lock ct?
Like ban?
This line:
RegAdminCmd("sm_closect", Command_CloseCT, ADMFLAG_ROOT);
Change to the flag that you want, the list is:
#define ADMFLAG_RESERVATION (1<<0) /**< Convenience macro for Admin_Reservation as a FlagBit */
#define ADMFLAG_GENERIC (1<<1) /**< Convenience macro for Admin_Generic as a FlagBit */
#define ADMFLAG_KICK (1<<2) /**< Convenience macro for Admin_Kick as a FlagBit */
#define ADMFLAG_BAN (1<<3) /**< Convenience macro for Admin_Ban as a FlagBit */
#define ADMFLAG_UNBAN (1<<4) /**< Convenience macro for Admin_Unban as a FlagBit */
#define ADMFLAG_SLAY (1<<5) /**< Convenience macro for Admin_Slay as a FlagBit */
#define ADMFLAG_CHANGEMAP (1<<6) /**< Convenience macro for Admin_Changemap as a FlagBit */
#define ADMFLAG_CONVARS (1<<7) /**< Convenience macro for Admin_Convars as a FlagBit */
#define ADMFLAG_CONFIG (1<<8) /**< Convenience macro for Admin_Config as a FlagBit */
#define ADMFLAG_CHAT (1<<9) /**< Convenience macro for Admin_Chat as a FlagBit */
#define ADMFLAG_VOTE (1<<10) /**< Convenience macro for Admin_Vote as a FlagBit */
#define ADMFLAG_PASSWORD (1<<11) /**< Convenience macro for Admin_Password as a FlagBit */
#define ADMFLAG_RCON (1<<12) /**< Convenience macro for Admin_RCON as a FlagBit */
#define ADMFLAG_CHEATS (1<<13) /**< Convenience macro for Admin_Cheats as a FlagBit */
#define ADMFLAG_ROOT (1<<14) /**< Convenience macro for Admin_Root as a FlagBit */
#define ADMFLAG_CUSTOM1 (1<<15) /**< Convenience macro for Admin_Custom1 as a FlagBit */
#define ADMFLAG_CUSTOM2 (1<<16) /**< Convenience macro for Admin_Custom2 as a FlagBit */
#define ADMFLAG_CUSTOM3 (1<<17) /**< Convenience macro for Admin_Custom3 as a FlagBit */
#define ADMFLAG_CUSTOM4 (1<<18) /**< Convenience macro for Admin_Custom4 as a FlagBit */
#define ADMFLAG_CUSTOM5 (1<<19) /**< Convenience macro for Admin_Custom5 as a FlagBit */
#define ADMFLAG_CUSTOM6 (1<<20) /**< Convenience macro for Admin_Custom6 as a FlagBit */
For example, ban flag is:
RegAdminCmd("sm_closect", Command_CloseCT, ADMFLAG_BAN);
And recompile the plugin: http://www.sourcemod.net/compiler.php
infLockdown
11-18-2012, 14:32
Thank you so much:D
Mitchell
11-18-2012, 16:03
theres a cvar mp_humanteam t/any you could use
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.