Skip to content

Commit

Permalink
权限管理
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasylidong committed Mar 20, 2024
1 parent c40784f commit a93f9f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified addons/sourcemod/plugins/optional/AnneHappy/server.smx
Binary file not shown.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/AnneHappy/server.sp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ public void OnPluginStart()
RegConsoleCmd("sm_setbot", SetBot);
RegAdminCmd("sm_kicktank", KickMoreTankThanOne, ADMFLAG_KICK, "有多只tank得情况,随机踢至只有一只");
SetConVarBounds(FindConVar("survivor_limit"), ConVarBound_Upper, true, 31.0);
RegAdminCmd("sm_addbot", ADMAddBot, ADMFLAG_SLAY, "Attempt to add a survivor bot (this bot will not be kicked by this plugin until someone takes over)");
RegAdminCmd("sm_delbot", ADMDelBot, ADMFLAG_SLAY, "Attempt to del a survivor bot if have more bot slots");
RegAdminCmd("sm_addbot", ADMAddBot, ADMFLAG_ROOT, "Attempt to add a survivor bot (this bot will not be kicked by this plugin until someone takes over)");
RegAdminCmd("sm_delbot", ADMDelBot, ADMFLAG_ROOT, "Attempt to del a survivor bot if have more bot slots");
hSurvivorsManagerEnable = CreateConVar("l4d_multislots_survivors_manager_enable", "0", "Enable or Disable survivors manage",CVAR_FLAGS, true, 0.0, true, 1.0);
hMaxSurvivors = CreateConVar("l4d_multislots_max_survivors", "4", "Kick AI Survivor bots if numbers of survivors has exceeded the certain value. (does not kick real player, minimum is 4)", CVAR_FLAGS, true, 4.0, true, 8.0);
hCvarAutoKickTank = CreateConVar("l4d_multislots_autokicktank", "0", "Auto kick tank when tank number above one", CVAR_FLAGS, true, 0.0, true, 1.0);
Expand Down

0 comments on commit a93f9f2

Please sign in to comment.