Do a c_trace from the player to a position under his feet, check if there is anything and maybe how far away it is, this will give you a clue about if the player touches the ground or not.