I made a nodraw brush and tied it to a emp_inf_restrict entity. The entity allowed scouts nf/be to enter. I didnt work, it didnt block any class. I made a second try and only allowed scouts to enter the brush cause I thought maybee the nf/be allows everyone to enter. Nothing happened, again everyone was able to enter. Third try, no one is allowed to enter, same again. EDIT: Console prints: attempt to create unknown entity type emp_inf_restrict
It seems the person who renamed emp_inf_restrict to emp_infantry_restrict forgot to update the fgd. I just committed a fixed fgd to the mapsrc folder of svn, and also uploaded it here -> http://raegquit.com/coffeeburrito/empires.fgd If you compile a map with that, it should be usable on 2.23.
I made an updated fgd that has all kinds of fixes, it also has the fixed version of this entity included: http://forums.empiresmod.com/showthread.php?t=8846