Jump to content

[solved] blinking blip


dzek (varez)

Recommended Posts

Posted (edited)

i wanted to create a blinking blip (setTimer etc)

but how can i make it invisible? setElementAlpha = no (at least getElementAlpha not works), setBlipColor = no (alpha is working with icon=0 blips), blip visibleTo = no, becouse this is client side

something else then destroying and creating it (for example how to change visibleDistance)

Edited by Guest
Posted (edited)

i wanted to create a blinking blip (setTimer etc)

but how can i make it invisible? setElementAlpha = no (at least getElementAlpha not works), setBlipColor = no (alpha is working with icon=0 blips), blip visibleTo = no, becouse this is client side

something else then destroying and creating it (for example how to change visibleDistance)

Edited by Guest
Posted

I doubt there's anything to change the visible distance, as it's not on the wiki. For the alpha issue: issue #3945.

This means there are only 2 options left: (for as far as I can see, at least)

- Destroy and re-create the blip (which you don't want)

- Make it server-side and use setElementVisibleTo (which, frankly, is even worse)

Posted

I doubt there's anything to change the visible distance, as it's not on the wiki. For the alpha issue: issue #3945.

This means there are only 2 options left: (for as far as I can see, at least)

- Destroy and re-create the blip (which you don't want)

- Make it server-side and use setElementVisibleTo (which, frankly, is even worse)

Posted

What's the harm with destroying and recreating it? If you do it client-side, there should be no significant cost.

Posted

What's the harm with destroying and recreating it? If you do it client-side, there should be no significant cost.

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