How to make an npc spawn at a certain vector but sitting?

How to make an npc spawn at a certain vector but sitting?

I used getpos to get a certain spot on a map. I sat in a chair and put it inside of the bench I want the NPC to spawn on, but it does not spawn the NPC sitting down. How do I make it sit?

setpos 8131.717773 3353.842773 1594.779297;setang 10.619879 88.549675 0.000013

Probably playing a sitting sequence on the NPC

How do I do that?

SetSequence