Garry's Mod Wiki

system.GetCountry

string system.GetCountry()

Description

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

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.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

DB GetPage 4
Generate Html 1
SaveChanges (1) 9
Render Body 0
Render Sidebar 12