Help Menu
Is it possible to not allow a register_clcmd to showup in the amx_help? If so please help me out. thanks!
|
Instead of registering it in plugin_init(), put in client_command(id):
Code:
|
Ok guys wait this isant working
Code:
|
Code:
I don't know what logged_a is so I can't really help you with that... All the errors are fixed except for logged_a o.O |
Ok heres what i want
a command amx_secretlogin <PASSWORD> --I dont want it to be shown in amx_help-- How do you do that? I dont understand |
Make the command only seeable by Admins:
register_concmd("command","pluginMethod",ADMI N_KICK,"whatever") If its suppose to only be used by admins. or register_clcmd("say", "pluginMethod") and then read_argv etc. |
http://forums.alliedmods.net/showthr...p?t=21280+help
You have to modify the adminhelp.sma It been done here.. Follow that link to know how. |
You dont get it. Im trying to make a plugin where the command to type in console is secret and doesnt show in amx_help.
so you type amx_helper <Name> Gives you w/e. |
You can either changed adminhelp.sma to skip your command, or you can use client_command. In your case, I would recommend that you use client_command.
When you use equali, you compare two arrayed varibles. If you are comparing it to a constant expersion (something that remains the same all the time, you need to put it in quotes. This is wrong: Code:
This is correct: Code:
|
| All times are GMT -4. The time now is 16:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.