Hello all!,
I'm a new guy in here and in "pawn" scripting, so after ~1h. checking other plugins source code i desided to do my first motd plugin, i did not tested it, so i think you can help me to learn pawn faster by telling me what i'm doing wrong, and how to do that.
Thank you!
P.S. Sorry for my bad English
EDIT: I forgot to add source code :O
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", "say motd")
}
public show_motd(id, "motd.txt", "My first motd")