Callum1243 Posted July 10, 2016 Share Posted July 10, 2016 I've got a custom made base script from CodyL and I am wishing to edit it so the owner of the base or any admin can see the marker if they are less than 5 meters away, any ideas? Link to comment
Walid Posted July 10, 2016 Share Posted July 10, 2016 I've got a custom made base script from CodyL and I am wishing to edit it so the owner of the base or any admin can see the marker if they are less than 5 meters away, any ideas? use getDistanceBetweenPoints3D() Link to comment
Captain Cody Posted July 11, 2016 Share Posted July 11, 2016 Well you could have just asked me through skype. Any ways you need onClientRender, and getDistanceBetween two points as Walid said. basicly, use either onClientRender or a timer to check every so often how far away you are from the house, if below said point set it visible to you, else set it invisible. 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