Raised This Month: $ Target: $400
 0% 

command not showing in amx_help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
n0br41ner
Senior Member
Join Date: May 2012
Location: Planet Earth
Old 10-22-2012 , 23:09   command not showing in amx_help
Reply With Quote #1

Alright, i have two commands registered as the following
Spoiler

P.S. i just changed the names and stuff cause it doesn't matter

Anyway, when an admin types amx_help, he does not see the command "amx_test", but when a user with flag z types amx_help, he can see the command "amx_test".

Command "say /test" can be seen in amx_help by both players.
Why?
__________________
n0br41ner is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-23-2012 , 00:01   Re: command not showing in amx_help
Reply With Quote #2

Post the whole code and explain in detail how you want the function to work. If the code is longer than 50 lines, post the .sma as an attachment.
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-23-2012 , 00:41   Re: command not showing in amx_help
Reply With Quote #3

I think it is related to get_concmd and following c++ code but that's all i can say

Spoiler
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
n0br41ner
Senior Member
Join Date: May 2012
Location: Planet Earth
Old 10-23-2012 , 08:38   Re: command not showing in amx_help
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
Post the whole code and explain in detail how you want the function to work. If the code is longer than 50 lines, post the .sma as an attachment.
Does it really have to do with any other part of code?
Both commands are using the same function, but only the command is the different part.
I got the function to work exactly how i wanted, no problem there. But i am only confused about why the first command is shown in amx_help, and on the contrary the second doesn't. Both have ADMIN_ALL access and both are registered using register_concmd

Quote:
Originally Posted by ConnorMcLeod
I think it is related to get_concmd and following c++ code but that's all i can say
You mean it can't be fixed?
__________________
n0br41ner is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-23-2012 , 18:57   Re: command not showing in amx_help
Reply With Quote #5

I must have misread what you were asking. Sorry.
__________________
fysiks is offline
Reply



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 06:37.


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