Raised This Month: $ Target: $400
 0% 

Hook console say command?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-30-2020 , 22:23   Re: Hook console say command?
Reply With Quote #2

As a reminder, register_clcmd() is for client commands which can only be sent by a client so that would never have worked. register_concmd() should catch commands from both the server and the client.

I tried register_srvcmd() on a proper server and it also doesn't hook the say command sent via the server's console. It's possible that the engine handles all known server commands before they will be sent to MetaMod (and therefore AMX Mod X) but I don't know that for sure. I'm not able to hook any other server commands either.

It sounds more like you need to describe what you're trying to do and why because maybe there's an alternative method to achieve your goal.
__________________
fysiks 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 14:10.


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