Witam. Jak dodać menu do menu? Chodzi o to, że mam menu np. 1. ja 2. ty 3.my i chciałbym, aby po wybraniu 1 opcji pojawiło się kolejne menu o opcjach 1. on 2.ona 3.one.
proszę o przerobienie tego kodu:
#include < amxmodx > #define PLUGIN "" #define VERSION "" #define AUTHOR "" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /cla", "test_handle") } public test_handle(id) { new menu = menu_create("Wybierz opcje", "menu_handler") menu_additem(menu, "Forum"); menu_additem(menu, "Serwery"); menu_additem(menu, "O nas"); menu_display(id, menu); } public menu_handler(id, menu, item) { switch(item) { case 0: { } case 1: { client_print(id, print_chat, "Wybrales item drugi") } case 2: { client_print(id, print_chat, "Wybrales item trzeci") } } }