Quote:
Originally Posted by Supremache
If you want to edit any zp extra items plugin for vip extra items you have to change one thing "zp to zv"
Example: Change this
PHP Code:
g_Ak47b = zp_register_extra_item("AK47 [Balrog Edition]", 40, ZP_TEAM_HUMAN )
public zp_extra_item_selected(id, itemid) { if(itemid == g_Ak47b) Get_Ak47b(id) }
To this
PHP Code:
#include <zmvip>
g_Ak47b = zv_register_extra_item("AK47 [Balrog Edition]", 40, ZP_TEAM_HUMAN )
public zv_extra_item_selected(id, itemid) { if(itemid == g_Ak47b) Get_Ak47b(id) }
|
Omg man, you do the same wrong thing, you guys forgot that description, i think that the zv thing should look like that:
PHP Code:
g_Ak47b = zv_register_extra_item("AK47 [Balrog Edition]", 40,"", ZP_TEAM_HUMAN )
that
"" is that description i was talking about, idk if i wrote good or bad but forgot how it was and i don't have the zm_vip.inc right next to me to see, but you missed a param and that's the problem. In that
description you can put anything , like
"[Chocolate]" and im the vip menu will show that thing, make
"" if you want to don't show anything