That native would just return a bool to say if they are playing a specific animation or not. He wants to be able to get what animation the ped is playing.
I just looked through the natives again, and I don’t think there is anything that will just grab the animation a random ped is doing.
If it is just a one-time thing to find out a specific animation that ped on the street is using, I guess you could use that function @xander1998 posted and loop through every animation. That would seem resource intensive, but if you’re just trying to find a name… why not.