Raised This Month: $51 Target: $400
 12% 

Need help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mhamed123
Member
Join Date: Aug 2016
Old 09-05-2016 , 11:29   Need help
Reply With Quote #1

I need make VIP menu at zpmenu guys help
mhamed123 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 09-05-2016 , 17:23   Re: Need help
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=179482
__________________
edon1337 is offline
mhamed123
Member
Join Date: Aug 2016
Old 09-05-2016 , 21:21   Re: Need help
Reply With Quote #3

I don't understand they cvars or what???
mhamed123 is offline
mhamed123
Member
Join Date: Aug 2016
Old 09-05-2016 , 21:21   Re: Need help
Reply With Quote #4

I don't understand. They cvars or what????
mhamed123 is offline
XMaDNeSS
Member
Join Date: Oct 2016
Location: Palestine, Nablus.
Old 11-06-2016 , 17:07   Re: Need help
Reply With Quote #5

post your zp50_main_menu.sma
__________________
http://zombieonzone.com ForEver
Free Palestine.
[ZoZ].:Zombie Plague:.1000FPS FastDL NonSteam
91.134.234.190:27015
XMaDNeSS is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 11-06-2016 , 17:54   Re: Need help
Reply With Quote #6

https://forums.alliedmods.net/showpo...3&postcount=10

Quote:
Originally Posted by georgik57 View Post
How to solve this once and for all to have any extra command menu options you want without having to re-edit your plug-in:

https://forums.alliedmods.net/showthread.php?t=273814

Download zombie_plague_nightmare.sma and open it.
Search for the following inside it: cvar_menucustomcommand(you will find 1 and 2).
Copy and paste everything related to them in your plugin.

In
Code:
public plugin_init()
add
Code:
register_dictionary("zombie_plague_nightmare.txt")

Download zombieplaguenightmare.cfg and copy the 2 custom menu CVars in your ZP's cfg.
Those CVars define which commands will be executed on the client.
For example, in your case, set zpnm_menu_custom_command1(or 2) to "say /vm".

Download zombie_plague_nightmare.txt into your data/lang folder and open it.
Find MENU_CUSTOM(1 and 2) and edit them to whatever you want them to show like in the menu.
Note that they are multilingvistic, so you can make them display something different in each language.
For example, set MENU_CUSTOM1 = VIP Menu Items under english([en]) and MENU_CUSTOM1 = Meniu Iteme VIP under romanian([ro]).

Now the next time you will want to have something different for those menu options, all you'll have to do is edit the CVars and the lang file again, without having to edit the plug-in and re-compile it.
Have fun.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
mhamed123
Member
Join Date: Aug 2016
Old 11-26-2016 , 17:04   Re: Need help
Reply With Quote #7

guys i hae zp 4.3
mhamed123 is offline
mhamed123
Member
Join Date: Aug 2016
Old 01-01-2017 , 06:50   Re: Need help
Reply With Quote #8

thankssss
mhamed123 is offline
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 02:40.


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