Как сделать что бы меню открывалось на B
- Articles
- 2025-08-22

Как сделать что бы меню открывалось на буквы B?
Для Начала Зайдём В Меню, и найдём там
public plugin_init()
и Регистрируем
register_clcmd("buy", "команда_вызова_меню")
Идём далее
Нам нужно заблокировать autobuy; rebuy; buyequip
Для этого, после
#define PLUGIN "blablabla"
#define VERSION "blablabla"
#define AUTHOR "blablabla"
Вставляем
new const g_szBuyCommands[ ][ ] =
{
"buyequip", "cl_autobuy",
"cl_rebuy", "cl_setautobuy", "cl_setrebuy", "client_buy_open"
};
Вертаемся обратно в
public plugin_init()
И в конец перед закрытием кода } вставляем
new iBuyCommands;
for ( iBuyCommands = 0; iBuyCommands < sizeof g_szBuyCommands; iBuyCommands++ )
register_clcmd( g_szBuyCommands[ iBuyCommands ], "Command_BuyMenu" );
И ниже под public plugin_init()
public Command_BuyMenu( iPlayer )
{
return PLUGIN_HANDLED;
}
И теперь просто создаём новый плагин вот с таким вот кодом
#include <amxmodx>
public plugin_init()
{
register_clcmd("buy", "hook_buy")
register_clcmd("client_buy_open", "hook_buy_vgu")
}
public hook_buy(id)
{
return PLUGIN_HANDLED
}
public hook_buy_vgu(id)
{
message_begin(MSG_ONE, 136, _, id)
message_end()
return PLUGIN_HANDLED
}
Hello, Our administration publishes only cannon content, put like under the post below and write the top comment, we are preparing the material just for you, Darling Гость.
Related news
Comments 3
Users belonging to group Guests cannot add comments to this article.
%35
Discount on purchase of all
builds until 16.9.2026
Especially for you - Гость

Buy Build
Our Services
Our Partners
Comments
[ZP] Addon - Buy HP & Damage [NEW]
TOP Plugins
[PAID MODEL] - Bleach Anime | Rangiku Matsumoto [$10 ]
WOW good bro ski skin
[ZP] Zombie Class - Gypno
А где сама модель зомби епт)
Карта Helloween
оч крутая карта оч крутая карта оч крутая карта
Weapon Model - Ak-47 Mad Volcano For CS 1.6
Benndiremedim






Hud Configurator
Hall of Shame
Model Viewer
CSO PISTOLS
CSO MACHINE GUN