Currently, getPos doesn't work on units inside closed armored vehicles. If it doesn't make sense to/is not feasible to return seat positions in enclosed vehicles, return an empty array on these vehicles.
Additional Example: The command used on a "B_Heli_Transport_01_F" would return (coordinates approximate): [["cargo",0,[0.779785,1.20068,-1.15307]],["cargo",1,[0.70874,2.73389,-1.15057]],["cargo",2,[-0.619629,1.23633,-1.18447]],["cargo",3,[-0.715088,2.72363,-1.17679]],["cargo",4,[0.290283,1.27051,-1.19344]],["cargo",5,[-0.224854,1.41748,-1.24763]],["cargo",6,[0.321289,2.59668,-1.24168]],["cargo",7,[-0.229736,2.6626,-1.1905]],["driver",0,[-0.450195,5.63965,-0.982065]],["turret",[0],[0.649414,5.63965,-0.982065]],["turret",[1],[-0.487793,4.0293,-0.908671]],["turret",[2],[0.616211,4.09326,-0.90678]]]