function of Prevent players from transferring and drop items

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

MR_Yun

Well-known member
Joined
Jan 26, 2021
Messages
2
hello,guys;
I have a little problem with my plugin,i need a functiong of Prevent players from transferring and drop items,but i can't find a right function,so i need a little help;

bool Hook_UPrimalInventoryComponent_RemoteInventoryAllowRemoveItems(UPrimalInventoryComponent* _this, AShooterPlayerController* PC, UPrimalItem* anItemToTransfer, int* requestedQuantity, bool bRequestedByPlayer, bool bRequestDropping)
{


return UPrimalInventoryComponent_RemoteInventoryAllowRemoveItems_original(_this, PC, anItemToTransfer, requestedQuantity, bRequestedByPlayer, bRequestDropping);
}
 
Tebex
Tempest Dedicated Servers
Back
Top