In addition to just simple math with positions gotten from child objects of the 'serverconnection' object, there is also this:
function aimbot_pos(%obj) {
if(isObject(aimbotPlayer))
aimbotPlayer.delete();
%name = %obj.getName();
%obj.setName(aimbotTemp);
new Player(aimbotPlayer : aimbotTemp) {
datablock = aimbotTemp.getDatablock();
};
%pos = aimbotPlayer.getPosition();
aimbotPlayer.delete();
%obj.setName(%name);
return %pos;
}
I guess that gets the client's position?
You are prevented from getting the player object positions from the ServerConnection object.
However, that code seems like it would work because it creates a fake player on the client side, gets the position of that, and deletes it.