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:
register_concmd("amx_rateall","cmdRateAll", ADMIN_MAP, " - Start a server-wide maprate")
Just say if you want me to write the cmdRateAll, I don't think the problem relies there so I don't do it for now.
Anyone know what is wrong? Other commands work.