Raised This Month: $ Target: $400
 0% 

admin flag a only


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-05-2014 , 16:50   Re: admin flag a only
Reply With Quote #8

Quote:
Originally Posted by OOE View Post
Well you're wrong This is what I want!
PHP Code:
public CmdMainMenu(id

    if(
access(idADMIN_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.
__________________

Last edited by fysiks; 01-05-2014 at 16:51.
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode