GOD Fito
Member
- Joined
- Oct 3, 2008
- Messages
- 97
- Solutions
- 1
- Reaction score
- 9
How can i do it to return false if i throw an item from my backpack to another backpack which is in the floor?
I did this but obviously it return false even if i throw items beetwens my backpacks
I did this but obviously it return false even if i throw items beetwens my backpacks
Code:
function onThrow(cid, item, fromPosition, toPosition)
if (isInArray....item) and fromPosition.x == CONTAINER_POSITION and toPosition.x == CONTAINER_POSITION then return false end
return true
end
Last edited: