Is there a way to hide a command from amx_help?
How can I register a console command that anyone can use, however I want it to be hidden from the amx_help list? Is this possible?
|
Re: Is there a way to hide a command from amx_help?
edit: When registering, use -1 for the access.
|
Re: Is there a way to hide a command from amx_help?
Unfortunately, ADMIN_ALL just shows the command to everybody. And I would like it to be hidden.
|
Re: Is there a way to hide a command from amx_help?
Quote:
|
Re: Is there a way to hide a command from amx_help?
Quote:
Still, thank you, guys! |
Re: Is there a way to hide a command from amx_help?
Quote:
|
Re: Is there a way to hide a command from amx_help?
From amxmodx.cpp
Code:
if (access < 0) // is access is -1 then hide from listing |
Re: Is there a way to hide a command from amx_help?
Quote:
So, in conclusion, the plugin which contains the command needs to be edited so that the third argument of the register command is -1. |
| All times are GMT -4. The time now is 12:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.