I`m trying to get country from player_logged_in event. But only thing i could get is numeric value of country code. How can i convert this value to string?
I want to know what is the numeric value of country code you mentioned?
Answer by Ivan Cai · Mar 31, 2021 at 08:13 AM
You can get countrycode that two-character ISO 3166-1 from "player_logged_in" event. However, the countrycode from ""player_device_info" event "is a number that is a index in the countrycode. For instance, countrycode string "SG", its index is "199".
That`s what i needed, thanks! Maybe there is some way to convert this code to full country name like "RU" to "Russia"?
We are having title_exceeded_limit warning, how do we focus on the calls causing it? 1 Answer
Can the BOM be removed from PlayStream archive events? 3 Answers
How to revoke player inventory item from the console and automatically update the player data 1 Answer
Aggregate custom events into a Histogram from Cloud Script (or anything that runs e.g daily) 1 Answer
Track game crashes with analytics. 1 Answer