Jump to content

how to know water around?


xxMANxx

Recommended Posts

  • Moderators
Posted
On 19/10/2019 at 12:36, xxMANxx said:

how to know for example that there is water within a radius of 20 meters from the player?

https://wiki.multitheftauto.com/wiki/TestLineAgainstWater

 

A line that detects the surface of the water. I am sure that you are creative enough to make it with that function.

  • Thanks 1

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...