Players are not entities, you have to have two different parts of code for players and entities (yes, using :is_player() :) )
For players, you have to call :get_player_name()
Actually everything is in minetest dev wiki and lua_api.txt.
Pyrollo wrote:Players are not entities, you have to have two different parts of code for players and entities (yes, using :is_player() :) )
For players, you have to call :get_player_name()
Actually everything is in minetest dev wiki and lua_api.txt.