If your elevator is moved by c_move the player should stay inside of it without any problem.