does it work if it running with sourcebans? somehow it doesnt work when player using "t" but if you have root acess then it works.... all i did is uncomment the admin custom6....
change //#define SHOPMENU2_FLAG ADMFLAG_ROOT to this:
#define SHOPMENU2_FLAG ADMFLAG_CUSTOM6
on line 9. That should work for "t" flags.
I've not tried this yet, because im at work, but you could try changing the line to look like this for those whom have flag "a":
#define SHOPMENU2_FLAG ADMFLAG_RESERVATION
Admins with the flag "a" should be allowed to use it.
Here are other ADMFLAG:
#define ADMFLAG_RESERVATION (1<<0)
#define ADMFLAG_GENERIC (1<<1)
#define ADMFLAG_KICK (1<<2)
#define ADMFLAG_BAN (1<<3)
#define ADMFLAG_UNBAN (1<<4)
#define ADMFLAG_SLAY (1<<5)
#define ADMFLAG_CHANGEMAP (1<<6)
#define ADMFLAG_CONVARS (1<<7)
#define ADMFLAG_CONFIG (1<<
#define ADMFLAG_CHAT (1<<9)
#define ADMFLAG_VOTE (1<<10)
#define ADMFLAG_PASSWORD (1<<11)
#define ADMFLAG_RCON (1<<12)
#define ADMFLAG_CHEATS (1<<13)
#define ADMFLAG_ROOT (1<<14)
#define ADMFLAG_CUSTOM1 (1<<15)
#define ADMFLAG_CUSTOM2 (1<<16)
#define ADMFLAG_CUSTOM3 (1<<17)
#define ADMFLAG_CUSTOM4 (1<<18)
#define ADMFLAG_CUSTOM5 (1<<19)
#define ADMFLAG_CUSTOM6 (1<<20)
#define INVALID_GROUP_ID -1
You can find this information on the webpage:
http://docs.sourcemod.net/dox/_i_admin_system_8h.htmlAlso what is helpful:
Levels
First, let's quickly run down the provided levels:
Name Flag Purpose
reservation a Reserved slot access.
generic b Generic admin; required for admins.
kick c Kick other players.
ban d Ban other players.
unban e Remove bans.
slay f Slay/harm other players.
changemap g Change the map or major gameplay features.
cvar h Change most cvars.
config i Execute config files.
chat j Special chat privileges.
vote k Start or create votes.
password l Set a password on the server.
rcon m Use RCON commands.
cheats n Change sv_cheats or use cheating commands.
root z Magically enables all flags.
custom1 o Custom Group 1.
custom2 p Custom Group 2.
custom3 q Custom Group 3.
custom4 r Custom Group 4.
custom5 s Custom Group 5.
custom6 t Custom Group 6.
From webpage:
http://wiki.alliedmods.net/Adding_Admins_(SourceMod)
If you need flag "t" and your sure that is what you need, then this should be on line 9:
#define SHOPMENU2_FLAG ADMFLAG_CUSTOM6
Hope I didn't confuse you. Hope this helps.