Way to close player inventory?
Looking for a way to close the players inventory when looking at a vending machine i got it to close the loot but the inventory remains open..
i want to be able to click on the vending machine and it do nothing but what my code has it doing.
Try player.EndLooting or something, don't remember it's name exactly
player.EndLooting();  closed the vending loot window but the player loot window ramins open.
There is no RPC to close loot ui, only to open it.
Is there a way to stop the ui from opening? say when click on a vendingmachine.
Ts3hosting
Is there a way to stop the ui from opening? say when click on a vendingmachine.
bool CanUseVending(VendingMachine machine, BasePlayer player)
{
    Puts("CanUseVending works!");
    return true;
}
is there a way to force the repair bench to close its looting player.EndLooting(); does not seem to affect it.
Ts3hosting
is there a way to force the repair bench to close its looting player.EndLooting(); does not seem to affect it.

Because its client-side... Meanwhile container (aka vending machine) is on server end
You CANT do anything with client sice 2016 (like bind buttons, or close inventory)