Шаблоны для uCoz
Статистика
Сегодня нас посетили
Наши партнёры

Наш баннер
Наш Сервер
Популярные файлы
Последние комментарии
Делаем Оружку для Вип
Автор: Гость Дата: 13.02.12


PHP Code:

#include <zmvip>
-------------------------------------------------
Open thats plugin sma file, find:
PHP Code:
zp_register_extra_item( g_item_name, g_item_cost, ZP_TEAM_HUMAN)

and chage to:

PHP Code:
zv_register_extra_item( g_item_name, g_item_description, g_item_cost, ZV_TEAM_HUMAN)

also can be like this:

PHP Code:
zv_register_extra_item("Item name", "Item description (like zm class)", 12, ZV_TEAM_HUMAN)
-------------------------------------------------
Now find:
PHP Code:
public zp_extra_item_selected(player, itemid)

and change to:

PHP Code:
public zv_extra_item_selected(player, itemid)
------------------------------------------------

Also there is a native zv_get_user_flags(id) (for more check in zmvip.inc)

Then compile. Make sure you have zmvip.inc file in scripting/include.
Скачать Делаем Оружку для Вип
Всего комментариев: 0
Добавить свой комментарий
Имя *:
Email *:
Код *: