diff options
author | bigfoot547 <bigfoot547@users.noreply.github.com> | 2017-03-22 15:13:03 -0500 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-03-22 21:13:03 +0100 |
commit | 9efc5da0fb7d276deff55db6e4eb89d24ca72b5d (patch) | |
tree | 5f6c3d614d2f2780867c3407c7a94c0f26a29b41 /src/script/lua_api/l_client.h | |
parent | c4b98deb616fbe204c503d678fb920baa33cbede (diff) | |
download | minetest-9efc5da0fb7d276deff55db6e4eb89d24ca72b5d.tar.gz minetest-9efc5da0fb7d276deff55db6e4eb89d24ca72b5d.tar.bz2 minetest-9efc5da0fb7d276deff55db6e4eb89d24ca72b5d.zip |
[CSM] Add function to get player names in range (#5435)
* [CSM] Add function to get currently connected player names
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r-- | src/script/lua_api/l_client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h index def9b48a3..fcf8c39ea 100644 --- a/src/script/lua_api/l_client.h +++ b/src/script/lua_api/l_client.h @@ -31,6 +31,9 @@ private: // display_chat_message(message) static int l_display_chat_message(lua_State *L); + + // get_player_names() + static int l_get_player_names(lua_State *L); // show_formspec(name, fornspec) static int l_show_formspec(lua_State *L); |