I want this
to say "/add text" - add text(line) to motd.txt
to say "/remove text - remove text(line) from motd.txt
HTML Code:
#include <amxmodx>
#include <cstrike>
public plugin_init()
{
register_plugin("Rules", "1.0", "NewNamePT")
register_clcmd("say /kurallar","ShowMotd")
}
public ShowMotd(id)
{
show_motd(id, "motd.txt")
}
public client_authorized(id)
{
//set_task(30.0, "PrintText" ,id)
}
public PrintText(id)
{
client_print(id, print_chat, "[Rules] Write /rules to view the server rules.")
}