Skip to content

getCountryCode

Sahri Riza Umami edited this page May 29, 2018 · 1 revision

Uses current user IP to found his country.
Returns two-letter ISO 3166-1 alpha-2 country code.
Can be called before authorization

getCountryCode()

Example

  • Returns current user's country code.
{
  ["@type"] = "text",
  text = "ID"
}

Frequently Asked Questions
The Functions

Clone this wiki locally