well simply do a c_trace from the gun to the ground and see if you hit a tree or the map, in my eyes much more simple laugh