This will delete the page "How to use the api"
. Please be certain.
Register a player-to-player right click event.
Arguements:
Example of Usage:
p2p.register_on_right_clickplayer(function(clicker, clicked)
minetest.chat_send_player(clicker:get_player_name(), "Right Clicked "..tostring(clicked:get_player_name()))
end)
Note: This will return a chat message to the clicker confirming that he/she right-clicked a player.
This will delete the page "How to use the api"
. Please be certain.