Garry's Mod Wiki

permissions.Connect

  permissions.Connect( string ip )

Description

Connects player to the server. This is what permissions.AskToConnect uses internally.

Arguments

1 string ip
IP address to connect.