12 lines
289 B
Lua
12 lines
289 B
Lua
local math = require("__flib__.math")
|
|
|
|
return function(player)
|
|
if not global.players[player.index].settings.show_position then
|
|
return
|
|
end
|
|
|
|
local position = player.position
|
|
|
|
return { "", { "statsgui.position" }, " = ", math.round(position.x), ", ", math.round(position.y) }
|
|
end
|