glowdemon1 Posted February 3, 2014 Posted February 3, 2014 Hey, I have this snippet of code that checks for elements (in this case vehicles and peds) within a radius of 5. However it's really inaccurate and doesn't work sometimes. Here's the code http://paste.ofcode.org/39yJLEeDyKkMg8KC5pj3zvS - No errors but it's just really inaccurate as I mentioned before. The two snippets of code are both located in a different resource so nothing should interfere with eachother. Edit, already solved and replaced with getDistanceBetweenPoints3D.
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