Quote:
Originally Posted by Tomusaki
Wow, thanx for advice!
Now my code looks much better
PHP Code:
#include <amxmodx> #define PLUGIN "My first motd" #define VERSION "0.1" #define AUTHOR "Me" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("/motd") } public say_motd(id) { show_motd("motd.txt", "my first motd") }
|
NONO
It must be register_clcmd("/motd", "say_motd")