Curb
Active Member
- Joined
- Sep 7, 2014
- Messages
- 82
- Solutions
- 5
- Reaction score
- 34
Give as much information as possible(TFS version, OS, errors, scripts).
Code:
function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() and not creature:getPlayer():isPremium() then
doRelocate(item:getPosition(),{x = item:getPosition().x + 3, y = item:getPosition().y, z = 07})
Game.sendMagicEffect(item:getPosition(), 13)
end
end
Instead of filter by player is premium or not I woud like to filter it by QuestValue.
Can someone help me?