Need help with some Radar System code

Hello, do yourself a favour and please read How to get the best out of this forum and modify your first post accordingly (including code tags).