Jump to content

Markers


Recommended Posts

Posted

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?

Posted
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() 

Posted

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.

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...