ksTakor Posted April 22, 2014 Posted April 22, 2014 How can I check if the ped is near or touching water?
justn Posted April 22, 2014 Posted April 22, 2014 [url=https://wiki.multitheftauto.com/wiki/IsElementInWater]https://wiki.multitheftauto.com/wiki/IsElementInWater[/url] Datastore - Store data to a database quickly. (Useful for saving scripted tables)
ksTakor Posted April 22, 2014 Author 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.
ksTakor Posted April 22, 2014 Author Posted April 22, 2014 Strange I tried in some script and only when player is swimming return true.
Moderators IIYAMA Posted April 22, 2014 Moderators Posted April 22, 2014 https://wiki.multitheftauto.com/wiki/GetPedBonePosition https://wiki.multitheftauto.com/wiki/Te ... ainstWater good luck. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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