set Allow Taking
This function is used to set whether the player is allowed to take items from the inventory
Parameters
slot Range
The range of slots to which the modification should be applied
allow Taking
Whether the player is allowed to take items from the slot