Callum1243 Posted July 10, 2016 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?
Walid Posted July 10, 2016 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() 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
Captain Cody Posted July 11, 2016 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.
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