Skip to content

Commit

Permalink
Fix server menu command not working on some clients.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDoctor0 committed Apr 3, 2021
1 parent 6af1fb9 commit a42cf1c
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 25 deletions.
20 changes: 10 additions & 10 deletions cstrike/addons/amxmodx/configs/csgo_menu.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
; \d - grey
; \r - red
; \y - yellow
"CSGO_SERVER_MENU_SKINS" "say /skins"
"CSGO_SERVER_MENU_OPERATIONS" "say /operations"
"CSGO_SERVER_MENU_CLANS" "say /clan"
"CSGO_SERVER_MENU_STATS" "say /statsmenu"
"CSGO_SERVER_MENU_MOLOTOV" "say /molotov"
"CSGO_SERVER_MENU_ZEUS" "say /zeus"
"CSGO_SERVER_MENU_HUD" "say /hud"
"CSGO_SERVER_MENU_SVIP" "say /svip"
"CSGO_SERVER_MENU_VIP" "say /vip"
"CSGO_SERVER_MENU_HELP" "say /help"
"CSGO_SERVER_MENU_SKINS" "skins"
"CSGO_SERVER_MENU_OPERATIONS" "operations"
"CSGO_SERVER_MENU_CLANS" "clan"
"CSGO_SERVER_MENU_STATS" "statsmenu"
"CSGO_SERVER_MENU_MOLOTOV" "molotov"
"CSGO_SERVER_MENU_ZEUS" "zeus"
"CSGO_SERVER_MENU_HUD" "hud"
"CSGO_SERVER_MENU_SVIP" "svip"
"CSGO_SERVER_MENU_VIP" "vip"
"CSGO_SERVER_MENU_HELP" "help"
2 changes: 1 addition & 1 deletion cstrike/addons/amxmodx/scripting/csgo_clans.sma
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#define TASK_INFO 9843

new const commandClan[][] = { "say /clan", "say_team /clan", "say /clans", "say_team /clans", "say /klany", "say_team /klany", "say /klan", "say_team /klan", "klan" };
new const commandClan[][] = { "say /clan", "say_team /clan", "say /clans", "say_team /clans", "say /klany", "say_team /klany", "say /klan", "say_team /klan", "klan", "clan" };

enum _:clanInfo { CLAN_ID, CLAN_LEVEL, Float:CLAN_MONEY, CLAN_KILLS, CLAN_MEMBERS, CLAN_WINS, Trie:CLAN_STATUS, CLAN_NAME[32] };
enum _:warInfo { WAR_ID, WAR_CLAN, WAR_CLAN2, WAR_PROGRESS, WAR_PROGRESS2, WAR_DURATION, WAR_REWARD };
Expand Down
22 changes: 11 additions & 11 deletions cstrike/addons/amxmodx/scripting/csgo_core.sma
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@
#define M4A4 "M4A4"
#define KNIFE "KNIFE"

new const commandSkins[][] = { "skiny", "say /skins", "say_team /skins", "say /skin", "say_team /skin", "say /skiny",
new const commandSkins[][] = { "skins", "skiny", "say /skins", "say_team /skins", "say /skin", "say_team /skin", "say /skiny",
"say_team /skiny", "say /modele", "say_team /modele", "say /model", "say_team /model", "say /jackpot", "say_team /jackpot" };
new const commandHelp[][] = { "pomoc", "say /pomoc", "say_team /pomoc", "say /help", "say_team /help" };
new const commandSet[][] = { "ustaw", "say /ustaw", "say_team /ustaw", "say /set", "say_team /set" };
new const commandBuy[][] = { "kup", "say /kup", "say_team /kup", "say /buy", "say_team /buy", "say /sklep", "say_team /sklep", "say /shop", "say_team /shop" };
new const commandRandom[][] = { "losuj", "say /los", "say_team /los", "say /losuj", "say_team /losuj", "say /draw", "say_team /draw", "say /drawing", "say_team /drawing" };
new const commandExchange[][] = { "wymien", "say /exchange", "say_team /exchange", "say /zamien", "say_team /zamien", "say /wymien", "say_team /wymien", "say /wymiana", "say_team /wymiana" };
new const commandGive[][] = { "daj", "say /give", "say_team /give", "say /oddaj", "say_team /oddaj", "say /daj", "say_team /daj" };
new const commandMarket[][] = { "rynek", "say /market", "say_team /market", "say /rynek", "say_team /rynek" };
new const commandSell[][] = { "wystaw", "say /wystaw", "say_team /wystaw", "say /sprzedaj", "say_team /sprzedaj", "say /sell", "say_team /sell" };
new const commandPurchase[][] = { "wykup", "say /wykup", "say_team /wykup", "say /purchase", "say_team /purchase" };
new const commandWithdraw[][] = { "wycofaj", "say /wycofaj", "say_team /wycofaj", "say /withdraw", "say_team /withdraw" };
new const commandHelp[][] = { "help", "pomoc", "say /pomoc", "say_team /pomoc", "say /help", "say_team /help" };
new const commandSet[][] = { "set", "ustaw", "say /ustaw", "say_team /ustaw", "say /set", "say_team /set" };
new const commandBuy[][] = { "buymenu", "kup", "say /kup", "say_team /kup", "say /buy", "say_team /buy", "say /sklep", "say_team /sklep", "say /shop", "say_team /shop" };
new const commandRandom[][] = { "draw", "losuj", "say /los", "say_team /los", "say /losuj", "say_team /losuj", "say /draw", "say_team /draw", "say /drawing", "say_team /drawing" };
new const commandExchange[][] = { "exchange", "wymien", "say /exchange", "say_team /exchange", "say /zamien", "say_team /zamien", "say /wymien", "say_team /wymien", "say /wymiana", "say_team /wymiana" };
new const commandGive[][] = { "give", "daj", "say /give", "say_team /give", "say /oddaj", "say_team /oddaj", "say /daj", "say_team /daj" };
new const commandMarket[][] = { "market", "rynek", "say /market", "say_team /market", "say /rynek", "say_team /rynek" };
new const commandSell[][] = { "sell", "wystaw", "say /wystaw", "say_team /wystaw", "say /sprzedaj", "say_team /sprzedaj", "say /sell", "say_team /sell" };
new const commandPurchase[][] = { "purchase", "wykup", "say /wykup", "say_team /wykup", "say /purchase", "say_team /purchase" };
new const commandWithdraw[][] = { "withdraw", "wycofaj", "say /wycofaj", "say_team /wycofaj", "say /withdraw", "say_team /withdraw" };

new const ammoType[][] = { "", "357sig", "", "762nato", "", "buckshot", "", "45acp", "556nato", "", "9mm", "57mm", "45acp", "556nato", "556nato", "556nato",
"45acp", "9mm", "338magnum", "9mm", "556natobox", "buckshot", "556nato", "9mm", "762nato", "", "50ae", "556nato", "762nato", "", "57mm" };
Expand Down
2 changes: 1 addition & 1 deletion cstrike/addons/amxmodx/scripting/csgo_operations.sma
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ enum _:playerInfo { PLAYER_ID, PLAYER_TYPE, PLAYER_ADDITIONAL, PLAYER_PROGRESS,
enum _:operationsInfo { OPERATION_AMOUNT, OPERATION_TYPE, OPERATION_REWARD };

new const commandQuest[][] = { "say /operation", "say_team /operation", "say /mission", "say_team /mission", "say /operacja", "say_team /operacja", "say /misja", "say_team /misja",
"say /misje", "say_team /misje", "say /operacje", "say_team /operacje", "say /operations", "say_team /operations", "say /missions", "say_team /missions", "misje" };
"say /misje", "say_team /misje", "say /operacje", "say_team /operacje", "say /operations", "say_team /operations", "say /missions", "say_team /missions", "misje", "operations" };
new const commandProgress[][] = { "say /progress", "say_team /progress", "say /progres", "say_team /progres", "say /postep", "say_team /postep", "postep" };
new const commandEnd[][] = { "say /koniec", "say_team /koniec", "say /zakoncz", "say_team /zakoncz", "zakoncz", "say_team /przerwij", "say /przerwij",
"say_team /cancel", "say /cancel", "say_team /end", "say /end", "przerwij" };
Expand Down
2 changes: 1 addition & 1 deletion cstrike/addons/amxmodx/scripting/csgo_ranks.sma
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ stock const daySeconds = 86400;
stock const hourSeconds = 3600;
stock const minuteSeconds = 60;

new const commandMenu[][] = { "menustaty", "say /statsmenu", "say_team /statsmenu", "say /statymenu", "say_team /statymenu",
new const commandMenu[][] = { "statsmenu", "menustaty", "say /statsmenu", "say_team /statsmenu", "say /statymenu", "say_team /statymenu",
"say /menustaty", "say_team /menustaty" };
new const commandRank[][] = { "ranga", "say /ranga", "say_team /ranga", "say /myrank", "say_team /myrank" };
new const commandRanks[][] = { "rangi", "say /rangi", "say_team /rangi", "say /ranks", "say_team /ranks" };
Expand Down
2 changes: 1 addition & 1 deletion cstrike/addons/amxmodx/scripting/include/csgomod.inc
Original file line number Diff line number Diff line change
Expand Up @@ -384,5 +384,5 @@ stock cmd_execute(id, const text[], any:...)
write_string(message);
message_end();

client_cmd(id, message);
engclient_cmd(id, message);
}

0 comments on commit a42cf1c

Please sign in to comment.