Why AMXX can't hook this command? Can someone help?
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.:oops: |
Re: Why AMXX can't hook this command? Can someone help?
You can't.
|
Re: Why AMXX can't hook this command? Can someone help?
Quote:
|
Re: Why AMXX can't hook this command? Can someone help?
You can't hook it at all. The client never sends exec to the server as it is handled by the client directly.
|
| All times are GMT -4. The time now is 20:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.