Garry's Mod Wiki
Description
Returns the public IP address and port of the current server. This will return the IP/port that you are connecting through when ran clientside.
Returns "loopback" in singleplayer.
Returns "0.0.0.0:
Issue Tracker: 3001
port
" on the server when called too early, including in GM:Initialize and GM:InitPostEntity. This bug seems to only happen the first time a server is launched, and will return the correct value after switching maps.Issue Tracker: 3001
Returns
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...