Garry's Mod Wiki


  RequestConnectToServer( string serverip )


This is used internally - although you're able to use it you probably shouldn't. Called by permissions.AskToConnect

If the server has the permission "connect" granted, it will instantly connect you to the server.
If the permission is not granted it will, it opens a confirmation window to connect to the server.


1 string serverip
The server ip to connect to