system.GetCountry

From Garry's Mod
Jump to: navigation, search
 system.GetCountry( )

Description

Returns the country code of this computer, determined by the localisation settings of the OS.

NOTE

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

Returns

string

Two-letter country code, using ISO 3166-1 standard.
Personal tools
Navigation