Thread: [Subplugin Submission] [ZP] Zombie VIP 1.9.1
View Single Post
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 04-24-2010 , 08:10   Re: [ZP] Zombie VIP 1.5
Reply With Quote #99

Yes. To make other extra plugin to use this do this:

in the top add
PHP Code:
#include <zmvip> 
-------------------------------------------------
Open thats plugin sma file, find:
PHP Code:
zp_register_extra_itemg_item_nameg_item_costZP_TEAM_HUMAN
and chage to:
PHP Code:
zv_register_extra_itemg_item_nameg_item_descriptiong_item_costZV_TEAM_HUMAN
also can be like this:
PHP Code:
zv_register_extra_item("Item name""Item description (like zm class)"12ZV_TEAM_HUMAN
-------------------------------------------------
Now find:
PHP Code:
public zp_extra_item_selected(playeritemid
and change to:
PHP Code:
public zv_extra_item_selected(playeritemid
------------------------------------------------

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.
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)

aaarnas is offline