z_mirror/StatsGui

git clone https://git.raiguard.me/z_mirror/StatsGui

Caleb HeuerRename global to storage1c9f69e

trunk
290 B11 linesraw
1local math = require("__flib__.math")
2
3return function(player)
4  if not storage.players[player.index].settings.show_position then
5    return
6  end
7
8  local position = player.position
9
10  return { "", { "statsgui.position" }, " = ", math.round(position.x), ", ", math.round(position.y) }
11end