regulamin.sma
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "Regulamin" #define VERSION "1.0" #define AUTHOR "Sru" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /regulamin","Regulamin") register_clcmd("say /kary","Kary") register_clcmd("say /vip","VIP") } public regulamin(id) { show_motd(id, "regulamin.txt", "Regulamin Serwera"); } public kary(id) { show_motd(id, "kary.txt", "Kary na serwerze"); } public vip(id) { show_motd(id, "vip.txt", "Konto VIP"); } /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par } */
Error logi:
L 06/07/2011 - 18:08:44: Info (map "de_nuke") (file "addons/amxmodx/logs/error_20110607.log") L 06/07/2011 - 18:08:44: Function "Regulamin" was not found L 06/07/2011 - 18:08:44: [AMXX] Run time error 19 (plugin "regulamin.amxx") - debug not enabled! L 06/07/2011 - 18:08:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). L 06/07/2011 - 18:41:16: Start of error session. L 06/07/2011 - 18:41:16: Info (map "de_tuscan") (file "addons/amxmodx/logs/error_20110607.log") L 06/07/2011 - 18:41:16: Function "Regulamin" was not found L 06/07/2011 - 18:41:16: [AMXX] Run time error 19 (plugin "regulamin.amxx") - debug not enabled! L 06/07/2011 - 18:41:16: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).