''Just as I got him moving the barrier alarms starting ringing, so it was just in the nick of time. He's pretty lucky,'' Mr Hine said.
Mr Hine said he and the man did not exchange names.
''I said to him 'that was a stroke of luck', and he was off on his scooter and I was off on my next delivery.''
Sierra Johnston-Smith lives near the railway tracks and saw the whole thing.
Ms Johnston-Smith said Mr Hine was a hero for doing what he did and shared her views on Facebook.
''I couldn't tell him myself how awesome and beautiful that was to see,'' she said.
''I knew if I put it on Facebook someone would know him. The power of social media is amazing. And what he did was amazing. The world needs more people like him. I wasn't fast enough to run out on to the road but I did stand on my deck and applaud him.''
Staff at Mainfreight's Mount Maunganui branch found out about Mr Hine's efforts on Facebook.
Branch manager Lance Chadwick said staff in Auckland told them about the Facebook post and they had a fair idea who it was that helped the old man.
''We have a few drivers that deliver as owner operators around Mount Maunganui. We just rang one of the guys, thought it was him. He's a pretty good guy.''