Garry's Mod Wiki

JoinServer

  JoinServer( string IP )

Description

Joins the server with the specified IP.

Arguments

1 string IP
The IP of the server to join

Example

Joins the server running on your machine.

JoinServer("localhost")