Not exactly what you wanted, but something to take a look at. You can use the same method he used to check if a player is going into a tunnel, instead of a restricted area.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.