VipMenu System

c0d3

Пользователь
Регистрация
16 Июн 2017
Сообщения
110
Симпатии
6
Пол
Мужской
Hello i download one vipmenu author is puzzlik, i see plugin have damage it is possible to remove damage, and to add vip can take multijump,speed and invisible i find this code in one old plugin, i like to set in vipmenu this code to have in menu but it is possible vip cant take all round this item but to have one limit 5x in map for speed,multijump and invisible :
For speed :
Код:
case ItemSpeed:
        {
            set_entvar(this, var_maxspeed, gConfig[ItemsAmount][ItemSpeed]);
            gbPlayerAttachedItems[this][item] = true;
            client_print_color(this, print_team_default, "\4[%s]\1 %L", MESSAGE_PREFIX, this, "USE_ITEM_SPEED", gConfig[ItemsLimit][item] - giPlayerUsedItems[this][item], gConfig[ItemsLimit][item]);
        }
For multijump:
Код:
case ItemMultijump:
        {
            gbPlayerAttachedItems[this][item] = gConfig[ItemsLimit][ItemMultijump] ? true : !gbPlayerAttachedItems[this][item];

            if (gConfig[ItemsLimit][ItemMultijump])
                client_print_color(this, print_team_default, "\4[%s]\1 %L", MESSAGE_PREFIX, this, "USE_ITEM_MULTIJUMP", gConfig[ItemsAmount][item], gConfig[ItemsLimit][item] - giPlayerUsedItems[this][item], gConfig[ItemsLimit][item]);
            else
            {
                client_print_color(this, print_team_default, "\4[%s]\1 %L", MESSAGE_PREFIX, this, gbPlayerAttachedItems[this][item] ? "USE_ITEM_MULTIJUMP_ENABLED" : "USE_ITEM_MULTIJUMP_DISABLED");
                ClientCommand_VM(this);
            }
        }
and for Invisiblity :
Код:
case ItemInvisiblity:
        {
            rg_set_rendering(this, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, gConfig[ItemsAmount][ItemInvisiblity]);
            gbPlayerAttachedItems[this][item] = true;
            client_print_color(this, print_team_default, "\4[%s]\1 %L", MESSAGE_PREFIX, this, "USE_ITEM_INVISIBLITY", gConfig[ItemsLimit][item] - giPlayerUsedItems[this][item], gConfig[ItemsLimit][item]);
        }
 

Вложения

Safety1st

Заблокированные
Пользователь
Регистрация
10 Ноя 2017
Сообщения
114
Симпатии
36
Пол
Мужской
Explain again what do you need.
 
  • Мне нравится
Симпатии: c0d3

Safety1st

Заблокированные
Пользователь
Регистрация
10 Ноя 2017
Сообщения
114
Симпатии
36
Пол
Мужской
Everything is possible but that plugin just give us a weapons :)
Which version of plugin do you use? What kind of versions HLDS/ReHLDS and AMXX on your server?
 

c0d3

Пользователь
Регистрация
16 Июн 2017
Сообщения
110
Симпатии
6
Пол
Мужской
I find this plugin in site, ReHLDS amxx 1.9.0 and im use reapi
 
Сверху Снизу