VipMenu System

c0d3

Пользователь
Регистрация
16 Июн 2017
Сообщения
77
Симпатии
2
Пол
Мужской
#1
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
Сообщения
14
Симпатии
6
Пол
Мужской
#4
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?