Is there a way to get user's country by write a code?
I need get the country in Player/Overview/account summery/country & origination.
Is there a way to get user's country by write a code?
I need get the country in Player/Overview/account summery/country & origination.
Yes, the player's location is always part of the log in event (player_logged_in), and when using a Rule to trigger a Cloud Script, you can get all the info on the event details via the context passed in. See this post for more info on that: https://community.playfab.com/questions/7770/task-triggering-cloudscript-question.html
I use a com.playfab.player_logged_in event and cloudscript, worked it out.
Thank you!
1 Person is following this question.