RSSy MYGO.pl Opublikowano Marzec 31, 2023 o 08:40 RSSy Udostępnij Opublikowano Marzec 31, 2023 o 08:40 Hello! I found a prefix menu at the link below but unfortunately the beginning is missing :( I would like to have one that, would give the prefix menu as a menu for the chat command /adminprefix and as a separate vip /vipprefix only give the menu to the person who has the rights PL: I mean something like: mute menu only on prefix menu Admins : C right For Vip: O right Prefix Main menu Admin prefix setting > your player list name > then enter your unique prefix. VIP Prefix setting > Your player list name > then enter your unique prefix. Someone can help you with this Thank you in advance for your replies. everyone Code: public Menu_Prefix(id) { new String[121], Nev[32]; get_user_name(id, Nev, 31); formatex(String, charsmax(String), "[%s] \r- \d Prefix Állítás", Prefix); new menu = menu_create(String, "Menu_prefix_h"); formatex(String, charsmax(String), "\wPrefix: \y%s ^n\d Írd be új prefixed nevét!", prefiszem[id]); menu_additem(menu, String, "2",0); if(Beirtprefix[id] == true){ formatex(String, charsmax(String), "\rBeállítás"); menu_additem(menu, String, "3",0); } menu_display(id, menu, 0); return PLUGIN_HANDLED; } public Menu_prefix_h(id, menu, item){ if(item == MENU_EXIT){ menu_destroy(menu); return; } new data[9], szName[64]; new access, callback; menu_item_getinfo(menu, item, access, data,charsmax(data), szName,charsmax(szName), callback); new key = str_to_num(data); switch(key) { case 2:client_cmd(id, "messagemode Reg_Prefix"); case 3: { client_print_color(id,print_team_default, "^1--------===^3[ Prefix Adatok ]^1===--------"); client_print_color(id,print_team_default, "%s^1 A ^4Prefix:^3(%s) ^1sikeresen ^3be ^1lett állĂ*tva!", C_Prefix, prefiszem[id]); client_print_color(id,print_team_default, "^1--------===^3[ PREFIX ]^1===--------"); } } } Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi