Quote:
|
i need to check if client even touches water
|
So not only swimming?
This will detect the cases when a player is also just stay in water (not only swimming).
With engine module: if (entity_get_int(player, EV_INT_waterlevel))
With fakemeta module: if (pev(player, pev_waterlevel))
If you want to know whether he is exactly swimming you have to perform exactly the same check but for flSwimTime pev value.