1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

[CSM] add screenshot api lua (#5674)

* [CSM] add screenshot api lua
This commit is contained in:
Vincent Glize 2017-04-29 09:16:06 +02:00 committed by Loïc Blot
parent b662a4577d
commit 19960e26c6
4 changed files with 14 additions and 0 deletions

View file

@ -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