Hello, i am trying to figure out how to make it so you cannot drop items so this is my idea.
void OnItemDropped(Item item, BaseEntity entity)
{
// item.MoveToContainer(entity.GetPlayerOwner.inventory);
}
So the idea is to get the owner then move the item back to the players inventory however i dont know how to get the player that dropped it so im a bit stuck :)
Responses are apprechiated! Regardless of how it contributes <3
void OnItemDropped(Item item, BaseEntity entity)
{
// item.MoveToContainer(entity.GetPlayerOwner.inventory);
}
So the idea is to get the owner then move the item back to the players inventory however i dont know how to get the player that dropped it so im a bit stuck :)
Responses are apprechiated! Regardless of how it contributes <3