Prośba o Menu serwera.
KreDzZ 17.08.2010
Witam.
Czy może mi ktoś zrobić Menu? W zamian karma
1. Regulamin (Motd)
2. Kontakt (Motd)
3. Bany (Motd)
4. Vip (Motd)
5. Admin (Motd)
6. Serwery (Tutaj żeby na say napisało "/serwer")
7. Amxmodmenu (Tylko dla adminów)
8. Informacje (Motd)
9. Pomoc (Motd)
To na tyle. Z góry thx.
Użytkownik KreDzZ edytował ten post 17.08.2010 11:25
Czy może mi ktoś zrobić Menu? W zamian karma
1. Regulamin (Motd)
2. Kontakt (Motd)
3. Bany (Motd)
4. Vip (Motd)
5. Admin (Motd)
6. Serwery (Tutaj żeby na say napisało "/serwer")
7. Amxmodmenu (Tylko dla adminów)
8. Informacje (Motd)
9. Pomoc (Motd)
To na tyle. Z góry thx.
Użytkownik KreDzZ edytował ten post 17.08.2010 11:25
Waski 17.08.2010
na czym to ma polegać? Że po wpisaniu na say'u /menu pokazuje się takie menu i po wybraniu np. Kontakt pokazywało okno MOTD z kontaktem tak?
Syczaj
17.08.2010
Powiedizalbys jeszcze, co poszczegolne komendy maja robic
Użytkownik Syczaj edytował ten post 17.08.2010 12:44
Użytkownik Syczaj edytował ten post 17.08.2010 12:44
KreDzZ 17.08.2010
takna czym to ma polegać? Że po wpisaniu na say'u /menu pokazuje się takie menu i po wybraniu np. Kontakt pokazywało okno MOTD z kontaktem tak?
Patrz nawiasy.Powiedizalbys jeszcze, co poszczegolne komendy maja robic
Użytkownik KreDzZ edytował ten post 17.08.2010 14:53
ZixI
17.08.2010
Proszę. Pliki .txt do cstrike
Użytkownik ZixI edytował ten post 17.08.2010 15:23
/* Pluign wykonany przez ZixI */ #include <amxmodx> #include <amxmisc> #define PLUGIN "Menu " #define VERSION "1.0" #define AUTHOR "ZixI" new menu_gracza public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) /* Komendy *************************************************************************************/ register_clcmd("say /menu","menu1"); register_clcmd("say_team /menu","menu1"); /* Menu ****************************************************************************************/ menu_gracza=menu_create("Menu Gracza","menu2"); menu_additem(menu_gracza,"Regulamin"); //0 menu_additem(menu_gracza,"Kontakt"); //1 menu_additem(menu_gracza,"Bany"); //2 menu_additem(menu_gracza,"Vip"); //3 menu_additem(menu_gracza,"Admin"); //4 menu_additem(menu_gracza,"Serwery"); //5 menu_additem(menu_gracza,"AmxModMenu"); //6 menu_additem(menu_gracza,"Informacje"); //7 menu_additem(menu_gracza,"Pomoc"); //8 } public menu1(id){ menu_display(id, menu_gracza, 0); return PLUGIN_HANDLED; } public menu2(id, menu, item){ switch(item){ case 0:{ show_motd(id,"regulamin.txt","Regulamin Serwera") } case 1:{ show_motd(id,"kontakt.txt","Kontakt") } case 2:{ show_motd(id,"bany.txt","Bany") } case 3:{ show_motd(id,"vip.txt","Vip") } case 4:{ show_motd(id,"admin.txt","Admin") return PLUGIN_HANDLED } case 5:{ client_cmd(id,"say /serwer") } case 6:{ client_cmd(id,"amxmodmenu") return PLUGIN_HANDLED } case 7:{ show_motd(id,"informacje.txt","Informacje") } case 8:{ show_motd(id,"pomoc.txt","Pomoc") return PLUGIN_HANDLED } } }
Użytkownik ZixI edytował ten post 17.08.2010 15:23
hardbot 18.08.2010
nie lepiej od razu tak:
Użytkownik hardbot edytował ten post 18.08.2010 04:17
Spoiler
Użytkownik hardbot edytował ten post 18.08.2010 04:17