For best results, you should run this action simultaneously on client and server and have some method to correct once in a while with the server's position...


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201