animals aren't really aware of you when you're in a vehicle; all they detect is the smell of rubber and diesel. I've been close to lions while in an open-sided van and they couldn't have cared less. So this is probably a lot less dangerous than it looks (though I wouldn't try it myself, just in case).
There was a Japanese tourist a few years ago who got out of his car and went up to a sleeping lion while his girlfriend photographed him. Now that was silly... and, as it proved, terminally so.