View Single Post
Author Message
mashinata619
Member
Join Date: Aug 2010
Old 06-30-2019 , 14:10   Block jump in water
Reply With Quote #1

I have a problem and I can not find a solution.
I want to block the action of jumping when a player is in the water. I've tried with Ham_Player_Jump and Ham_Player_Duck and there's no way.

To know if the player is in the water I use pev (id, pev_waterlevel)
mashinata619 is offline