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

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

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.

Wolf Inc Discord

Youtube channel
Github

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