Raised This Month: $ Target: $400
 0% 

Error Ak47 balrog for vip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AnimalMonster
Senior Member
Join Date: May 2020
Old 06-26-2020 , 08:21   Re: Error Ak47 balrog for vip
Reply With Quote #1

Quote:
Originally Posted by Supremache View Post
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]"40ZP_TEAM_HUMAN )

public 
zp_extra_item_selected(iditemid)
{
    if(
itemid == g_Ak47bGet_Ak47b(id)

To this

PHP Code:
#include <zmvip>

g_Ak47b zv_register_extra_item("AK47 [Balrog Edition]"40ZP_TEAM_HUMAN )

public 
zv_extra_item_selected(iditemid)
{
    if(
itemid == g_Ak47bGet_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

Last edited by asherkin; 06-26-2020 at 21:36. Reason: Removed insult
AnimalMonster is offline
Old 06-26-2020, 08:42
Supremache
This message has been deleted by asherkin.
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode