Garry's Mod Wiki

GetHostName

  string GetHostName()

Description

Returns the name of the current server.

Returns

1 string
The name of the server.