Well, I'm afraid I can't do anything. The only in game build function I can use to get a player position is getPlayerPosition, and I use it calling a "player object", I guess it's returning the position's vector of the player, the one stored on the database ... I hope Red will find a solution soon
And BTW : I'm not sure there's build-in function to restart a server. To be honest, I don't know much of the functions usable for scripting, the most I know are from Red himself. But, IMAO, adding in-game a function to restart the server could be dangerous, or had to be well maid