05-14-2017, 07:27 PM
Like this?
Or you know a simpler way?
PHP Code:
function LoadMyChunk(X,Z,World)
World:ChunkStay({{math.floor(X / 16), math.floor(Z / 16)}}, nil,
function()
_, Height = World:TryGetHeight(X, Z)
print(X, Height, Z, _)
end
)
end
Or you know a simpler way?