Jump to content

View distance in marker


Recommended Posts

15 hours ago, Protagonist95 said:

Hello.Does anybody know how to make doublesided marker (talking about checkpoint one,not cylinder) or just recommend the way to create a really large one(size > 300 units) that will not fade away after walking some distance?

to get distance u can use it in Client or Server because it's shared function :

https://wiki.multitheftauto.com/wiki/GetDistanceBetweenPoints3D

 to make it visible or fade it:

https://wiki.multitheftauto.com/wiki/SetElementVisibleTo

but it only work in serverSide so u can use the alternative u can use it in Client or Server because it's shared function:

https://wiki.multitheftauto.com/wiki/SetElementAlpha

also u can check the alpha if u want with this function:

https://wiki.multitheftauto.com/wiki/GetElementAlpha

it's also shared function

i hope i was able to help you 

+_+

  • Like 2
Link to comment

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