Raised This Month: $ Target: $400
 0% 

Message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DWIGHTpN
Senior Member
Join Date: Jan 2013
Location: Romania.
Old 04-21-2013 , 06:26   Message
Reply With Quote #1

Hi.
How to use macro (message_const.ini).
I need SVC_PRINT.

Quote:
register_message(SVC_PRINT,"hook_ConPrint");
hook:
Quote:
public hook_ConPrint()
{
new x[100];
get_msg_arg_string(1,x,100);
log_to_file("file.log","%s",x);
return PLUGIN_CONTINUE;
}
it is right or not?

Last edited by DWIGHTpN; 04-21-2013 at 06:27.
DWIGHTpN 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 10:48.


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