Skip to content

Commit

Permalink
权限更新
Browse files Browse the repository at this point in the history
Update confogl_plugins.cfg

权限管理
  • Loading branch information
fantasylidong committed Mar 20, 2024
1 parent 7cdc9a1 commit 08b2ded
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Binary file modified addons/sourcemod/plugins/extend/rpg.smx
Binary file not shown.
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
6 changes: 3 additions & 3 deletions addons/sourcemod/scripting/extend/rpg.sp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public void OnPluginStart()
//RegAdminCmd("sm_aruatest", Tryskin, ADMFLAG_ROOT ,"测试轮廓rgb值");
for(int i=1;i<MaxClients;i++){
player[i].ClientPoints=500;
player[i].ClientFirstBuy=true;
player[i].ClientFirstBuy=false;
player[i].CanBuy=true;
}
}
Expand Down Expand Up @@ -335,7 +335,7 @@ public void Event_PlayerDisconnectOrAFK( Event hEvent, const char[] sName, bool
player[client].ClientHat = 0;
player[client].GlowType = 0;
player[client].SkinType = 0;
player[client].ClientFirstBuy = true;
player[client].ClientFirstBuy = false;
player[client].ClientRecoil = 1;
player[client].CanBuy=true;
player[client].ClientPoints = 500;
Expand Down Expand Up @@ -591,7 +591,7 @@ public void OnClientPostAdminCheck(int client)
{
if(!IsValidClient(client) || IsFakeClient(client))
return;
player[client].ClientFirstBuy = true;
player[client].ClientFirstBuy = false;
player[client].ClientRecoil = 1;
player[client].CanBuy=true;
player[client].ClientPoints = 500;
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/annehappy/confogl_plugins.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ sm_cvar ai_Tank_Bhop 1
sm_cvar AnnePluginVersion 2023-01
sm_cvar inf_EnableAutoSpawnTime 1 //是否开启自动设置增加时间
sm_cvar versus_round_restarttimer 2
sm_cvar versus_round_restarttimer_finale 5
sm_cvar versus_round_restarttimer_finale 2
exec vote/hard_off.cfg
exec vote/crouch_off.sh

Expand Down

0 comments on commit 08b2ded

Please sign in to comment.