From 19960e26c672c6337f8c6ffbe27f2c6bca49750c Mon Sep 17 00:00:00 2001 From: Vincent Glize Date: Sat, 29 Apr 2017 09:16:06 +0200 Subject: [CSM] add screenshot api lua (#5674) * [CSM] add screenshot api lua --- doc/client_lua_api.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md index b2aeb3f25..86fcd02a7 100644 --- a/doc/client_lua_api.md +++ b/doc/client_lua_api.md @@ -703,6 +703,8 @@ Call these functions only at load time! * `minetest.get_protocol_version()` * Returns the protocol version of the server. * Might not be accurate at start up as the client might not be connected to the server yet, in that case it will return 0. +* `minetest.take_screenshot()` + * Take a screenshot. ### Misc. * `minetest.parse_json(string[, nullvalue])`: returns something -- cgit v1.2.3