register_clcmd
register_clcmd("amx_banmenu", "cmdSSmenu", ADMIN_BAN, "- displays ban menu")
If the line looks like this, then "cmdSSmenu" will be created or it will be called? |
Re: register_clcmd
I don't know too much about how this works, but I guess it will be called, it's something like:
Code:
|
Re: register_clcmd
Okey thanks :)
|
Re: register_clcmd
It's not exactly like this, cmdSSmenu is called for every player who type command in his console.
You have to check admin access then. You have to check with cmd_access : PHP Code:
|
Re: register_clcmd
Quote:
|
Re: register_clcmd
Quote:
|
Re: register_clcmd
Thanks alot guys, it was really heplful :)
|
| All times are GMT -4. The time now is 06:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.