Code:
if(entity_get_int(id,EV_INT_flags) & FL_INWATER)
Probably, though it may only return if they are fully submerged. This code would see if their is water at their feet (I think):
Code:
new Float:origin[3], Float:mins[3];
entity_get_vector(id,EV_VEC_origin,origin);
entity_get_vector(id,EV_VEC_mins,mins);
origin[2] += mins[2]; // feet of player theoretically
if(PointContents(origin) == CONTENTS_WATER)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS