#include <amxmodx> #include <amxmisc> #define PLUGIN "Regulamin" #define VERSION "1.0" #define AUTHOR "Rob Zombie,SlaNdisH" new regulamin_on public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /help","regulamin") register_clcmd("say /helpme","regulamin") regulamin_on = register_cvar("regulamin_on","1") register_logevent("pokaz_info",2,"1=Round_Start") } public regulamin(id) { if(get_pcvar_num(regulamin_on)) { show_motd(id,"/addons/amxmodx/data/info.txt","Informacje") } } public pokaz_info(id) { client_print(0,print_chat,"Aby Uzyskac pomoc : wpisz /help") client_print(0,print_chat,"Aby Uzyskac pomoc : wpisz /helpme") }
Tak będzie łatwiej.