• 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 TFS 1.2 Player:onMoveItem

Shadow Dan

Sh4dowDan
Joined
Jun 5, 2010
Messages
344
Reaction score
88
Location
Poland
I want to do script when you move item to CONST_SLOT_NECKLACE then return false.
Code:
if toPosition == CONST_SLOT_NECKLACE then
return false
end
This is not working, any ideas?
 
Code:
if toPosition.x == CONTAINER_POSITION and toPosition.y == CONST_SLOT_NECKLACE then
    return false
end
 
Solution
Back
Top