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.

  • Like 1
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

  • Like 1
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

  • Like 1
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

  • Like 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • 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.