Umm.
1) There's no way to prevent cheating. Check out olympic medal-winning athletes caught for consuming certain hormones if you don't believe me. In a world where you can't resort to piss-testing and Photoshop exists, cheating is not possible, it's easy as hell.
I suggest making this part a trust issue.
2) If you want to, you could make the hintC display (using getWPpos) the position of each waypoint, and if they don't match up then, well, then they've obviously been moved. But that's really pointless, since anyone with any editing skill can just unPBO the mission, grab the hintC code, place a chopper in the appropriate location, change the hintC code to reflect a perfect or near-perfect score, and grab a picture. Which is probably easier in the long run than for some weird reason moving the waypoints around.
So no, there's no native way for you to ever find out if a script has been edited or not, sorry! The best you can do is write some really convoluted code that explodes everything if edited in even the slightest way that creates amazing marker-patterns on the map or something, and demand that people take a screenshot of that at the end. And make the actual cheat-noticing thing something really small and natural...or something. O.o But that's just postponing it.
I suggest just making the race fun, and trusting people not to unpbo the mission and wrecking things!
Wolfrug out.