Raised This Month: $ Target: $400
 0% 

Command Intercept - AMX bug?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
crazyfool2100
Junior Member
Join Date: Jul 2004
Old 07-17-2004 , 05:29   Command Intercept - AMX bug?
Reply With Quote #1

Hey,

I am trying to create a logging plugin that logs a specific set of commands that are implemented by metamod plugins.

I know that it is possible to intercept commands with the client_command function (ie kill, say). I also know that it is possible to intercept commands like +attack and +moveleft using prethink. However, what I have not seen (and yes i searched the board for quite a while) is how to intercept custom +namehere commands, such as +hook. Lets say i wanted to intercept +hook from a client, I couldnt use prethink (atleast this is my understanding) becuase it isnt a built in command. I looked at the examples for intercepting +attack and it uses the constant IN_ATTACK or something. I dont think there is a constant for +hook or any other custom +namehere commands.

Is there anyway to intercept custom +namehere commands?

Any help would be greatly appriciated
crazyfool2100 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 14:42.


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