Не компилирует, пишет error 010 invalid function or declaration . Что-то не так с функцией,но я уже голову сломал
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "MOTD"
#define VERSION "1.0"
#define AUTHOR "Uknown"
public plugin_init()
{
register_plugin ( PLUGIN, VERSION, AUTHOR )
register_clcmd("adminka","vMotd");
register_clcmd("say /adminka","vMotd");
register_clcmd("say_team /adminka","vMotd");
register_clcmd("vipka","vMotd");
register_clcmd("say /vipka","vMotd");
register_clcmd("say_team /vipka","vMotd");
}
public vMotd(id)
{
show_motd(id, "adminka.txt")
return PLUGIN_HANDLED
}
#include <amxmisc>
#define PLUGIN "MOTD"
#define VERSION "1.0"
#define AUTHOR "Uknown"
public plugin_init()
{
register_plugin ( PLUGIN, VERSION, AUTHOR )
register_clcmd("adminka","vMotd");
register_clcmd("say /adminka","vMotd");
register_clcmd("say_team /adminka","vMotd");
register_clcmd("vipka","vMotd");
register_clcmd("say /vipka","vMotd");
register_clcmd("say_team /vipka","vMotd");
}
public vMotd(id)
{
show_motd(id, "adminka.txt")
return PLUGIN_HANDLED
}