Thread: [Subplugin Submission] [ZP] Zombie VIP 1.9.1
View Single Post
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 05-20-2011 , 03:37   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #485

[IMG]http://**************/m/708/4755/meniu.jpg[/IMG]
To add VIP menu to main Zombie plague menu do this:

For 5.x version tutorial, see below.

ZOMBIE PLAGUE 4.3:
1. Open zombie_plague40.sma file.
2. Find line:
PHP Code:
len += formatex(menu[len], charsmax(menu) - len"\d6. %L^n^n"id"MENU_SPECTATOR"
after add:
PHP Code:
    // 7. Vip meniu items
    
len += formatex(menu[len], charsmax(menu) - len"\r7.\w VIP Meniu Items^n^n"
3. Find:
PHP Code:
case 8// Admin Menu 
add against (that means before "case 8: // Admin Menu"):
PHP Code:
case 6client_cmd(id"say /vm"// Vip menu call 
4. Compile plugin and add amxx file in your server.

ZOMBIE PLAGUE 5.x:
1. Open zp50_main_menu.sma file.
2. Find line:
PHP Code:
len += formatex(menu[len], charsmax(menu) - len"\r5.\w %L^n^n"id"MENU_INFO"
after add:
PHP Code:
    // 6. Vip meniu items
    
len += formatex(menu[len], charsmax(menu) - len"\r6.\w VIP Meniu Items^n^n"
3. Find:
PHP Code:
case 6// Menu override 
add against (that means before "case 6: // Menu override"):
PHP Code:
case 5client_cmd(id"say /vm"// Vip menu call 
4. Compile plugin and add amxx file in your server.
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)


Last edited by aaarnas; 08-27-2012 at 11:36.
aaarnas is offline