in CoD1 you can just use hud.angle...
look at the stock files in the bombermission (I dont remember the actual script name), the plane damage-icon in the compass is done this way, unfortunately they removed this feature
doesn't seem to work in cod1.1, maybe was uo only?