PHP Code:
#include <amxmodx.inc>
#define PLUGIN "first motd"
#define VERSION "0.1"
#define AUTHOR "Me"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /motd", "show_motd")
}
public show_motd
{
show_motd(id, "motd.txt", "My first motd")
}
You do not create the function to open the motd