well zorks idea kinda works.
It flashes up very briefly with the buttons. So quickly I haven't been able to get a screenshot. Then the buttons disappear leaving the leave button there.
For your info nUI uses macro conditonals for visibility.
I changed nUI's line in the possesbar.lua file from:
RegisterStateDriver( frame, "visibility", "[bonusbar:5] show; hide" );
to
RegisterStateDriver(frame,"visibility","[possessbar][possessbar,@vehicle,exists] show; hide")
I then tried to change it to
RegisterStateDriver(frame,"visibility","[possessbar][overridebar,@vehicle,exists] show; hide")
But no visual difference but managed to take a screenshot before it disappeared.
Tried some changes but a line as simple as
RegisterStateDriver(frame,"visibility","[possessbar,@vehicle,exists] show; hide")
Did the exact same thing.
|