CODE:
Code: Select all
players = {player}
if tablelength(Block.get(990)) > 0 then
autoscroll.unlockSection()
if Block.get(990)[1].x <= players[playerIdx].x then
for i=1,1 do
for p=1,tablelength(Player.get()) do
if Section.getIdxFromCoords(Block.get(990)[1].x, Block.get(990)[1].y, 16, 16) == Player.get()[p].section then
autoscroll.scrollRight(1.000000000000000)
end
end
end
end
end
