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

[Help] How to Add VIP MENU to the main menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ALONZO
Member
Join Date: May 2016
Old 07-30-2016 , 17:35   [Help] How to Add VIP MENU to the main menu
Reply With Quote #1

idk how to add vip menu to the main menu can you help please idk what to do.
same this photo i want the vip menu at the main menu






here is .sma please do it for me.
And thanks.
Attached Files
File Type: sma Get Plugin or Get Source (zombie_plague40.sma - 1047 views - 355.2 KB)
__________________
looking for Experience Scripter
Have Good Skills on scripting
To Build With me My own community
Contact me On Skype : med.bougharriou1

ALONZO is offline
Send a message via Skype™ to ALONZO
Egan
BANNED
Join Date: May 2013
Location: GB
Old 07-31-2016 , 02:02   Re: [Help] How to Add VIP MENU to the main menu
Reply With Quote #2

what is the vip plugin u use ? i can help u but i think u should use zppv.boards.net from now on since its active
Egan is offline
Send a message via ICQ to Egan Send a message via AIM to Egan Send a message via Yahoo to Egan Send a message via Skype™ to Egan
ShooTeR XKy
Member
Join Date: Jul 2014
Location: Palestine
Old 08-07-2016 , 16:37   Re: [Help] How to Add VIP MENU to the main menu
Reply With Quote #3

Go There and take a look
V_I_P
https://forums.alliedmods.net/showthread.php?p=2423998
ShooTeR XKy is offline
mhamed123
Member
Join Date: Aug 2016
Old 09-04-2016 , 19:10   Re: [Help] How to Add VIP MENU to the main menu
Reply With Quote #4

how pls how to add knife menu too
mhamed123 is offline
ShooTeR XKy
Member
Join Date: Jul 2014
Location: Palestine
Old 09-05-2016 , 14:34   Re: [Help] How to Add VIP MENU to the main menu
Reply With Quote #5

Only Me Know ----- not too many people know this Trick
ShooTeR XKy is offline
mhamed123
Member
Join Date: Aug 2016
Old 09-05-2016 , 15:45   Re: [Help] How to Add VIP MENU to the main menu
Reply With Quote #6

say to me bro pls
mhamed123 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 09-05-2016 , 17:22   Re: [Help] How to Add VIP MENU to the main menu
Reply With Quote #7

Add this
PHP Code:
    // 7.  Knife Menu
        
len += formatex(menu[len], charsmax(menu) - len"\w7.\r %L^n^n"id"MENU_SPECTATOR"
Then this
PHP Code:
case 6client_cmd(id"say /knifemenu"
__________________
edon1337 is offline
mhamed123
Member
Join Date: Aug 2016
Old 09-05-2016 , 21:19   Re: [Help] How to Add VIP MENU to the main menu
Reply With Quote #8

Where make they bro
mhamed123 is offline
ShooTeR XKy
Member
Join Date: Jul 2014
Location: Palestine
Old 09-08-2016 , 18:43   Re: [Help] How to Add VIP MENU to the main menu
Reply With Quote #9

Quote:
Originally Posted by edon1337 View Post
Add this
PHP Code:
    // 7.  Knife Menu
        
len += formatex(menu[len], charsmax(menu) - len"\w7.\r %L^n^n"id"MENU_SPECTATOR"
Then this
PHP Code:
case 6client_cmd(id"say /knifemenu"
Good Things
i Know Better Than This OLD


Last edited by ShooTeR XKy; 09-08-2016 at 18:58.
ShooTeR XKy is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 09-08-2016 , 19:20   Re: [Help] How to Add VIP MENU to the main menu
Reply With Quote #10

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
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 18:56.


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