/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"
#define MYMENU_KEYS MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_9|MENU_KEY_0
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /regulamin","mymenu");
register_menu("MyMenu",MYMENU_KEYS,"cbMyMenu");
}
public mymenu(id){
show_menu(id,MYMENU_KEYS, "y Regulaminy^n^nr1. wRegulamin Adminar2. wRegulamin Serwerar3. wRegulamin Gracza^n^nr9. wWsteczny :Dr0. wExit ",-1,"MyMenu");
return PLUGIN_HANDLED;
}
public cbMyMenu(id, key){
switch(key){
case 0:{
show_motd(id, "r-admina.txt")
}
case 1:{
show_motd(id, "r-serwera.txt")
}
case 2:{
show_motd(id, "r-gracza.txt")
}
case 3:{
// ?? wsteczny ? ?? <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/tongue.gif' class='bbc_emoticon' alt=':P' />
}
case 4:{
return PLUGIN_HANDLED;
}
}
return PLUGIN_HANDLED;
}
powinno dzialac. Btw.
http://amxx.pl/topic...enu-vt15272.htm poczytaj