nfsprodriver wrote:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.after(0,set_sky(nil,skybox,{"a.png","b.png","c.png","d.png","e.png","f.png"}))
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_on_joinplayer(function(player)
minetest.after(0, function()
player:set_sky(bgcolor, type, {texture names})
end)
end)
That's how I understood the lua API of minetest