Garry's Mod Wiki

Garry's Mod Wiki

  string system.GetCountry()

Description

Returns the country code of this computer, determined by the IP of the client. Uses the steamworks API function SteamUtils()->GetIPCountry().

This function does not work on Dedicated Servers and will instead return no value.

Returns

1 string
Two-letter country code, using ISO 3166-1 standard.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...