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.