Raised This Month: $ Target: $400
 0% 

Hooking Client Commands....


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Zor
Veteran Member
Join Date: Mar 2004
Location: Toronto, ON
Old 04-15-2004 , 14:26   Hooking Client Commands....
Reply With Quote #1

Hi all, need some help with this one. In earlier versions of amx, 9.6 area, I could catch cl_ commands in the client_infochanged():

Code:
public client_infochanged(id) {     new counter = read_argc()     new cmd[128]         for(new i = 0; i < counter; i++)     {         read_argv(i,cmd,127)         log_amx("[AMXX] Trace: client_infochanged: read_argv: %s", cmd)     }         read_args(cmd,127)     log_amx("[AMXX] Trace: client_infochanged: read_args: %s", cmd)             return PLUGIN_CONTINUE }

Now it seems that you can't? Anyone know how this is done or if it has been yanked outa the code for amxmodx? Have I the wrong forward? Not sure, but I have a trace program I run to see about what commands are sent for different things, I only use it on my development server to trace problems....any help in this regards would be much appreciated!

Cheers!
Attached Files
File Type: sma Get Plugin or Get Source (trace.sma - 1046 views - 2.0 KB)
__________________
Zor is offline
Send a message via AIM to Zor Send a message via MSN to Zor Send a message via Yahoo to Zor
 


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 06:32.


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