Użytkownik: aghadsg
Tytuł: asfsf
Język: PHP
Data: 15 mar 2010, 21:53
Link: http://3paste.com/s/1561/php/asfsf
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include <amxmodx>
  4. #include <amxmisc>
  5.  
  6. #define PLUGIN "New Plug-In"
  7. #define VERSION "1.0"
  8. #define AUTHOR "author"
  9.  
  10.  
  11. public plugin_init() {
  12. register_plugin(PLUGIN, VERSION, AUTHOR)
  13. register_clcmd("mymenu","mymenu");
  14.  
  15. register_menu ("MyMenu", MENU_KEY_1| MENU_KEY_2,"cbMyMenu")
  16.  
  17. }
  18. public client_putinserver(id){
  19. show_menu(id, MENU_KEY_1| MENU_KEY_2, "yJakie chcesz miec BH?^n^nw1. Auto^t2. Normal",-1,"MyMenu");
  20. return PLUGIN_HANDLED;
  21. }
  22. public cbMyMenu(id, key){
  23. switch(key){
  24. case 0:{
  25. client_print(id, print_chat, "Wybrales auto BH");
  26. }
  27. case 1:{
  28. client_print(id, print_chat, "Wybrales normal BH");
  29. }
  30. }
  31. }
© 2008 3paste.com Pytania i odpowiedzi | Kontakt | Zmiany 3paste_Poland 3paste_England