Quote:
Originally Posted by OOE
Well you're wrong  This is what I want!
PHP Code:
public CmdMainMenu(id) { if(access(id, ADMIN_IMMUNITY) ) { ShowMainMenu(id); return PLUGIN_HANDLED; } }
|
Unless you use ADMIN_ADMIN or ADMIN_ALL, your code is exactly the same thing. But, if there is a chance that you might change it to one of these two flags then your code is the best way to go.
__________________