How to get a random point around the player

Can you mark which post was the solution to your question? It helps others who are having a similar issue.