A to ??
#include <amxmodx> #include <amxmisc> #define PLUGIN "mapy" #define VERSION "v1.0" #define AUTHOR "Rob Zombie" new premium_on public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /mapy","mapy") premium_on = register_cvar("mapy_on","1") register_logevent("pokaz_info",2,"1=Round_Start") } public premium(id) { if(get_pcvar_num(mapy_on)) { show_motd(id,"/addons/mapy.txt","Mapy.") } } public pokaz_info(id) { client_print(0,print_chat,"Aby Zobaczyc Jakie Na Serwerze Sa Mapy : wpisz /mapy") }
i plik mapy.txt do addons i tam mapy wypisz