Raised This Month: $ Target: $400
 0% 

cmdaccess.ini & get_user_flags()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hypheni
Senior Member
Join Date: Jul 2011
Location: India
Old 01-14-2013 , 12:59   cmdaccess.ini & get_user_flags()
Reply With Quote #1

I have totally custom cmdaccess.ini.

PHP Code:
"amx_kick"                "a" admincmd.amxx
"amx_ban"                "a" admincmd.amxx
"amx_banip"                "a" admincmd.amxx
"amx_addban"            "a" admincmd.amxx
"amx_unban"            "a" admincmd.amxx

"amx_pausecfg"            "g" pausecfg.amxx
"amx_pausecfgmenu"        "g" pausecfg.amxx
"amx_off"                "g" pausecfg.amxx
"amx_on"                 "g" pausecfg.amxx 
Now depending on Admin category they gets these flags.

What should be the proper value of get_user_flags() to check admin type and also what to check for non-admin users

Last edited by hypheni; 01-14-2013 at 13:00.
hypheni is offline
Send a message via Skype™ to hypheni
 


Thread Tools
Display Modes

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 13:41.


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