Skip to content

Commit

Permalink
Register callvote command as an alias for vote (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
execut4ble authored Oct 18, 2024
1 parent e144ee8 commit 724074e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions valve/addons/amxmodx/scripting/agmodx.sma
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ public plugin_init() {
ag_register_concmd("aglistvotes", "CmdVoteHelp", ADMIN_ALL, "AGCMD_LISTVOTES", _, true);
ag_register_concmd("timeleft", "CmdTimeLeft", ADMIN_ALL, "AGCMD_TIMELEFT", _, true);
ag_register_clcmd("vote", "CmdVote", ADMIN_ALL, "AGCMD_VOTE", _, true);
ag_register_clcmd("callvote", "CmdVote", ADMIN_ALL, "AGCMD_VOTE", _, true);
ag_register_clcmd("yes", "CmdVoteYes", ADMIN_ALL, "AGCMD_YES", _, true);
ag_register_clcmd("no", "CmdVoteNo", ADMIN_ALL, "AGCMD_NO", _, true);
ag_register_clcmd("say !yes", "CmdVoteYes_Say", ADMIN_ALL, "AGCMD_YES", _, true);
Expand Down

0 comments on commit 724074e

Please sign in to comment.