setElementAlpha on objects with the alpha set to 140 or less will cause the object to be invisible.
To Reproduce
Steps to reproduce the behavior:
run o = Object(1337, me.position)
run -- walk out of obj, look at obj
run o.alpha = 140 -- obj now invisible
Expected behavior
It should not be invisible.
Additional context
TheGTA said:
The problem was that MTA did not adjust render states (ALPHAREF stayed 100). I fixed this alpha issue for vehicles and objects, currently eir fork only, by rewriting RenderEntity.
Describe the bug Devan_LT said:
To Reproduce Steps to reproduce the behavior:
Expected behavior It should not be invisible.
Additional context TheGTA said:
From https://bugs.mtasa.com/view.php?id=5623