Box using Entity API

local function on_paint()
local players = entity.get_players()
for _, player in next, players do
local x, y, w, h = player:get_bbox()
render.rect_outline(x, y, w, h, 255, 255, 255, 255)
end
end
cheat.set_callback("paint", on_paint)Last updated