Raised This Month: $ Target: $400
 0% 

Why AMXX can't hook this command? Can someone help?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wgwgkg
Member
Join Date: May 2011
Old 02-10-2013 , 05:54   Why AMXX can't hook this command? Can someone help?
Reply With Quote #1

I want to hook the command "exec". Therefore, I tried to hook the function with register_clcmd("exec","cmd_refuse").
However, whatever I execute any configs, function "cmd_refuse" still not run. I think it's because "exec" is a client command, AMXX can't hook "exec". Then can I hook this function "exec" in another ways in AMXX? I just want to prevent execute configs in my server.

Please help~

Sorry for my poor English.
wgwgkg 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 20:38.


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