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`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?
This information is from "player_device_info" event
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"?
3 People are following this question.