From 9efc5da0fb7d276deff55db6e4eb89d24ca72b5d Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Wed, 22 Mar 2017 15:13:03 -0500 Subject: [CSM] Add function to get player names in range (#5435) * [CSM] Add function to get currently connected player names --- src/script/lua_api/l_client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/lua_api/l_client.h') 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); -- cgit v1.2.3