here u go
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /buyxp","cmdbuyxp")
}
public client_putinserver(id)
{
set_task(180.0, "announce", id,_,_,"b")//180 seconds = 3min
}
public announce(id)
{
client_print(0,print_chat,"Type /server to view the server info")
client_print(0,print_chat,"Type /buyxp to learn how to buy xp")
client_print(0,print_chat,"Type /rules to view the rules")
client_print(0,print_chat,"Type /motd to view the Message of the Day")
}
public cmdbuyxp(id)
{
client_print(id,print_chat,"To buy Xp conntact whit Admin!")
}
__________________