Raised This Month: $ Target: $400
 0% 

Messages don't print in the console


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
stream
Junior Member
Join Date: Nov 2011
Location: Poland
Old 11-26-2011 , 15:39   Messages don't print in the console
#1

Hello!
Why are messages write by the plugin aren't printed in the console?
Code:
#include <amxmodx>
#define PLUGIN "Wymuszanie ustawien sieciowych"
#define VERSION "1.0"
#define AUTHOR "stream"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_authorized(id)
{
client_cmd(id, "rate 25000")
client_cmd(id, "cl_updaterate 101")
client_cmd(id, "cl_cmdrate 101")
client_cmd(id, "cl_cmdbackup 2")

client_print(id, print_console, "----------------------------------------------------------------------------------")
client_print(id, print_console, "Zmieniono wartosci: rate 25000, cl_updaterate 101, cl_cmdrate 101, cl_cmdbackup 2!")
client_print(id, print_console, "----------------------------------------------------------------------------------")
}
Sorry for my very bad English language

edit:
Code:
client_cmd(id, "echo ----------------------------------------------------------------------------------")
client_cmd(id, "echo Zmieniono wartosci: rate 25000, cl_updaterate 101, cl_cmdrate 101, cl_cmdbackup 2!")
client_cmd(id, "echo ----------------------------------------------------------------------------------")
It's works, but why the first version doesn't work?

Last edited by stream; 11-26-2011 at 15:49.
stream is offline
 


Thread Tools
Display Modes

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 08:31.


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