Hi, i'm trying to get this autoscrolling working, with one player it works fine, but with two players I get this error, how do I get it to work for two players?
CODE:
ERROR:
![Image]()
CODE:
Code:
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

Statistics: Posted by SuperMachoBros — Wed Oct 23, 2024 9:52 pm