Hm.. somethings wrong.. i made that you told me, but nothing is displayed.. :/
I made:
client_cmd(id,"echo ^"BLAH^") - the same result :/
Quote:
what about
client_print( id, print_console, "BLA" ); in client_connect ?
|
I want to display in chat, not in console
----------------------------------
Here is the plugin on this stage:
Quote:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "plugin"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("say /command", "some_command", ADMIN_ALL, "some text")
}
public some_command(id)
{
client_print(id, print_chat, "*************** text ***************")
client_print(id, print_chat, "text")
client_print(id, print_chat, "text")
client_print(id, print_chat, "text")
client_print(id, print_chat, "*************** text ***************")
return PLUGIN_HANDLED
}
public client_putinserver(id) {
new name[32];
get_user_name(id,name,31)
server_cmd("say player with %s is connecting",name)
}
public client_connect(id)
{
client_cmd(id,"echo ^"BLAH^")
}
|
What is wrong ?
Can you fix it ?