Skip to content

Commit

Permalink
remove drop command hook with !guns menu opening
Browse files Browse the repository at this point in the history
  • Loading branch information
wopox1337 committed Sep 20, 2023
1 parent 76f4475 commit 10d671a
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ EquipManager_Init() {

register_concmd("redm_dump_equip", "ConCmd_redm_dump_equip", ADMIN_MAP, "Dump loaded equipset from config to table in console.")

register_clcmd("drop", "ClCmd_Drop")
register_clcmd("say /guns", "ClCmd_Drop")
register_clcmd("say !guns", "ClCmd_Drop")
register_clcmd("guns", "ClCmd_Drop")
register_clcmd("say /guns", "ClCmd_Guns")
register_clcmd("say !guns", "ClCmd_Guns")
register_clcmd("guns", "ClCmd_Guns")
register_clcmd("cl_autobuy", "ClCmd_cl_autobuy")
}

Expand Down Expand Up @@ -129,7 +128,7 @@ public ClCmd_cl_autobuy(const player) {
return PLUGIN_HANDLED
}

public ClCmd_Drop(const player) {
public ClCmd_Guns(const player) {
if (!IsActive())
return PLUGIN_CONTINUE

Expand Down

0 comments on commit 10d671a

Please sign in to comment.