update servernews
This commit is contained in:
parent
ccbf2be54a
commit
1fb75aee14
@ -3,7 +3,8 @@
|
|||||||
local function get_formspec()
|
local function get_formspec()
|
||||||
local news_file = io.open(minetest.get_worldpath().."/news.txt", "r")
|
local news_file = io.open(minetest.get_worldpath().."/news.txt", "r")
|
||||||
local news_fs = 'size[12,8.25]'..
|
local news_fs = 'size[12,8.25]'..
|
||||||
"button_exit[-0.05,7.8;2,1;exit;Close]"
|
"button_exit[-0.05,7.8;2,1;exit;Закрыть]"..
|
||||||
|
"label[3,8;Отключить новости при входе: '/news off', включить заново '/news on']"
|
||||||
if news_file then
|
if news_file then
|
||||||
local news = news_file:read("*a")
|
local news = news_file:read("*a")
|
||||||
news_file:close()
|
news_file:close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user