Raised This Month: $ Target: $400
 0% 

I made one plugin but..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mrrr
Member
Join Date: Jun 2007
Old 07-17-2007 , 09:20   Re: I made one plugin but..
Reply With Quote #7

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 ?
Mrrr is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode