Originally Posted by Resike
What about vehicles without a button?
|
hook another secure frame maybe
this is the script i use for the pet action bar :
RegisterStateDriver(myframe, "visibility", "[target=pet,exists, novehicleui, nopossessbar] show; hide;")
hope it can help.
you can also see in
RestrictedEnvironment.lua there are functions about vehiculeui that you can use in the handler