Adding own admin command - only returning usage instructions
I have added a new command to an existing plugin. The command should require some admin privileges. But when I write it in the console the plugin only returns the usage instructions?
Example: I connect to my server as admin Opens the console and writes amx_rateall The console returns: Usage: amx_rateall - Start a server-wide maprate Here is the code for the command: PHP Code:
Anyone know what is wrong? Other commands work. |
Re: Adding own admin command - only returning usage instructions
Solved it myself.
|
| All times are GMT -4. The time now is 19:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.