Raised This Month: $ Target: $400
 0% 

Is there a way to hide a command from amx_help?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-22-2011 , 16:14   Re: Is there a way to hide a command from amx_help?
Reply With Quote #9

Quote:
Originally Posted by Emp` View Post
From amxmodx.cpp
Code:
	if (access < 0)		// is access is -1 then hide from listing
	{
		access = 0;
		listable = false;
	}
Setting the flags to -1 (leaving the default value) will cause it to not be shown.
Interesting. Too bad there is no way to do it from cmdaccess.ini.

So, in conclusion, the plugin which contains the command needs to be edited so that the third argument of the register command is -1.
__________________
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 12:03.


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