• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Players can put items into Shop Inbox

Majster12

Member
Joined
Feb 20, 2009
Messages
134
Solutions
1
Reaction score
16
vCWNUv7.gif

TFS 1.2
When i change like this no one can put items to bag/bacpkack.

players.lua
Code:
        -- Do not let the player insert items into either the Reward Container or the Reward Chest
        local itemId = container:getId()     
        if itemId == ITEM_REWARD_CONTAINER or itemId == ITEM_REWARD_CHEST or 26052 then
            self:sendCancelMessage('Sorry, not possible.')
            return false
        end
<item id="26052" name="shop inbox" />
 
Last edited:
Back
Top