Skip to content

Helicopter rotor unaffected by vehicle alpha #523

@ArranTuna

Description

@ArranTuna

Describe the bug
Not a big deal, but changing a helicopter's alpha will not change the rotors' (both head and tail rotors) alpha. They will always remain at 255.

This was not previously the case - rotors used to match the alpha of the rest of the vehicle.

This affects code in the editor used to hide elements (ryden's code). Although alternative methods can be used, this is still an issue.

To Reproduce

  1. Get in helicopter.
  2. crun localPlayer.vehicle.alpha = 0

Expected behaviour
The rotor should be invisible.

Screenshots
http://youtu.be/f6BGvkjsji8

Additional context
From https://bugs.mtasa.com/view.php?id=4194

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions