View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-15-2012 , 07:12   Re: Immunity not work?
Reply With Quote #8

Quote:
Originally Posted by FaTony View Post
Why?
- you get all flags
- immunity have no effect
- you see all cmds from admin menu
- admin command restriction won't work
- plugin developers should not have to build extra code for root users in plugins...
Code:
	new AdminId:admin = GetUserAdmin(client);
	if( admin != INVALID_ADMIN_ID && GetAdminFlag(admin, Admin_Root) )
	{
		// Do code when root user
	}
http://forums.alliedmods.net/showpos...1&postcount=15
__________________
Do not Private Message @me
Bacardi is offline