Check out my FPSNet example (boy I refer people to this a lot).
http://www.blitzbasic.com/codearcs/codearcs.php?code=1149
Of course you can expand on all that ... but it works.
http://www.blitzbasic.com/codearcs/codearcs.php?code=1149
Of course you can expand on all that ... but it works.