ksTakor Posted April 22, 2014 Share Posted April 22, 2014 How can I check if the ped is near or touching water? Link to comment
justn Posted April 22, 2014 Share Posted April 22, 2014 [url=https://wiki.multitheftauto.com/wiki/IsElementInWater]https://wiki.multitheftauto.com/wiki/IsElementInWater[/url] Link to comment
ksTakor Posted April 22, 2014 Author Share Posted April 22, 2014 this just return true if the player is swimming in water I want a way of detecting if the water is in his legs. Link to comment
Karuzo Posted April 22, 2014 Share Posted April 22, 2014 No it checks if the element touched the water. Link to comment
ksTakor Posted April 22, 2014 Author Share Posted April 22, 2014 Strange I tried in some script and only when player is swimming return true. Link to comment
Moderators IIYAMA Posted April 22, 2014 Moderators Share Posted April 22, 2014 https://wiki.multitheftauto.com/wiki/GetPedBonePosition https://wiki.multitheftauto.com/wiki/Te ... ainstWater good luck. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now