If you want to restrict a hero to only be used by people with a certain access flag, use G-Dog's awesome plugin instead:
http://forums.alliedmods.net/showthread.php?t=172501
Delete the "custom access flag restriction code" you added to the hero and simply use the simple plugin!
P.S: If you want people to look at the code you post it's much easier to read if you wrap it in
or
tags.
__________________