Garry's Mod Wiki

Revision Difference

Global.RequestConnectToServer#548488

<function name="RequestConnectToServer" parent="Global" type="libraryfunc">⤶ <description>⤶ <internal>Called by <page>permissions.AskToConnect</page></internal>⤶ 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.⤶ <image src="https://i.imgur.com/yJ2Q8o6.png"/>⤶ </description>⤶ <realm>Menu</realm>⤶ <file line="266-L274">lua/menu/openurl.lua</file>⤶ <args>⤶ <arg name="serverip" type="string">The server ip to connect to</arg>⤶ </args>⤶ </function>