Greetings, I was using this in my 0.3.7 TFS tried to convert it to 1.4.1 I know 1.4.1 supports 0.4 functions libs but for some reason, it doesn't work there's no error in the console or anything happen in the game. It works when u step out in some position it removes some item in some position.
Lua:
function onStepOut(cid, item, pos)
wall1 = {x=665, y=401, z=7, stackpos=1}
getwall1 = getThingfromPos(wall1)
if item.uid == 4356 and item.itemid == 425 and isPlayer(cid) == TRUE then
doTransformItem(item.uid,item.itemid+1)
doCreateItem(1304, 1, wall1)
else
end
return 1
end