Raised This Month: $ Target: $400
 0% 

Little Help [#define]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-31-2013 , 01:46   Re: Little Help [#define]
Reply With Quote #1

These definitions are used with cmd_access(). ADMIN_ALL means that the function will return true for all users. ADMIN_USER will only return true for non-admins (those with the 'z' flag which is given to non-admins by default).

So, that means it's possible to make commands that can only be used by basic users (non-admins).
__________________
fysiks is offline
Programmer
Member
Join Date: Sep 2012
Location: Somewhere in the Earth
Old 07-31-2013 , 22:28   Re: Little Help [#define]
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
These definitions are used with cmd_access(). ADMIN_ALL means that the function will return true for all users. ADMIN_USER will only return true for non-admins (those with the 'z' flag which is given to non-admins by default).

So, that means it's possible to make commands that can only be used by basic users (non-admins).
Oh Okay I was Idiot But he Didnt specify Things and made them more Clear Any ways Thanks For Your help

[LOCKED]
Programmer is offline
Reply



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 15:57.


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