So I got an plugin, Golden AK for cs 1.6. It allows you to buy an Golden AK, is you say /goldenak. So what I need, is that only players with admin flag S (ADMIN_LEVEL_G) can buy it. I've been searching around and I think I have to add this to somewhere in the plugin:
Code:
if( get_user_flags(/goldenak) & ADMIN_LEVEL_G)
Can anyone tell me, is this correct line and where exactly I need to put this...
Plugin it self:
http://forums.alliedmods.net/showthread.php?t=92393
Hope someone can help.