[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 6: client_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 5: client_cmd(id, "say /vm") // Vip menu call
4. Compile plugin and add amxx file in your server.
__________________