Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32031

Ladder problem

$
0
0



Stairs wont work when item above it. any suggestions? i have this script

Code:
local upFloorIds = {1386, 3678, 5543, 22845, 22846}
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if isInArray(upFloorIds, item.itemid) then
        fromPosition:moveUpstairs()
    else
        fromPosition.z = fromPosition.z + 1
    end
    player:teleportTo(fromPosition, false)
    return true
end

Viewing all articles
Browse latest Browse all 32031

Trending Articles