if(!(pev(pID, pev_flags) & FL_ONGROUND)) { show_dhudmessage(pID, "You are is in the Air." )}else{//in water, on ground, etc..}