Quote:
Originally Posted by exelz
1.!i need to know command that server will automaticaly say(every 3min):
"Type /server - server info"
"Type /buyxp - how to buy xp"
"Type /rules - server rules"
"Type /motd - see MOTD"
|
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("", "", "")
set_task(180.0, "show_ad", _, _, _, "b")
}
public show_ad()
{
client_print(0, print_chat, "Type /server - server info")
client_print(0, print_chat, "Type /buyxp - how to buy xp")
client_print(0, print_chat, "Type /rules - server rules")
client_print(0, print_chat, "Type /motd - see MOTD")
}
Quote:
Originally Posted by exelz
2.How can i make so when player types /buyxp then it types in chat:
"To buy Xp conntact whit Admin!"
|
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("", "", "")
register_clcmd("say /buyxp", "cmd_info")
}
public cmd_info(id)
{
client_print(id, print_chat, "To buy Xp conntact whit Admin!")
}