The player must have special sripting, already said.
Maybe you can trace from the player position.

But the elevator can be passable, depending by the trace_mode.

Greetings
TSGames