Jump to content

Auth Remove Button Issues

Pending 1.0.3

dustyhansen
dustyhansen

Posted

The Auth Remove button shows for me even though I am not the TC owner and I have the config set to only show for TC owner.

Also, when I try to remove someone it seems like it tries to remove me, not the person I am clicking on.

My developer says you need to remove this:

//! Disable Or Remove This:
// if (Interface.CallHook("OnCupboardDeauthorize", tc, player) != null)
//     return;

And add this:

//! Add This:
if (Interface.CallHook("OnCupboardRemovePlayer", tc, player, playerID) != null) return;

So that it removes the person you are clicking on.

Iftebinjan

Posted

4 minutes ago, dustyhansen said:

The Auth Remove button shows for me even though I am not the TC owner and I have the config set to only show for TC owner.

Also, when I try to remove someone it seems like it tries to remove me, not the person I am clicking on.

My developer says you need to remove this:

//! Disable Or Remove This:
// if (Interface.CallHook("OnCupboardDeauthorize", tc, player) != null)
//     return;

And add this:

//! Add This:
if (Interface.CallHook("OnCupboardRemovePlayer", tc, player, playerID) != null) return;

So that it removes the person you are clicking on.

noted, i will check this asap

dustyhansen

Posted

any updates on this? it has been a couple weeks, so thought i would ask.

Iftebinjan

Posted

3 hours ago, dustyhansen said:

@Iftebinjan can you please respond?

Will update this tomorrow

Iftebinjan

Posted

Found the issue it was the scrollbar UI which was above the btn which drags the UI up when clicking on remove btn

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.6k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.