Is the dialogue correct, natural, and logical?

Police officer: What are you doing down here?

Cab driver: I drove this guy. He was going to a party. I offered to wait for him till the party was over, so he gave me a key card to the parking garage.